protected function children() : array
	{
		$categories = App::make('category.repository.cahe')->childrenOf($this->category_id, 50, [
			'id', 'category_id', 'name'
		]);

		return Normalizer::generation($categories)
        	->prepend((int) $this->category_id)
        	->all();
	}
protected function children() : array
	{
		$categories = App::make('category.repository.cahe')->childrenOf($this->category_id, 50, [
			'id', 'category_id', 'name'
		]);

		return Normalizer::generation($categories)
        	->prepend((int) $this->category_id)
        	->all();
	}
protected function children ( ) : array { $ categories = App :: make ( 'category.repository.cahe' ) -> childrenOf ( $ this -> category_id , 50 , [ 'id' , 'category_id' , 'name' ] ) ; return Normalizer :: generation ( $ categories ) -> prepend ( ( int ) $ this -> category_id ) -> all ( ) ; }
Returns the children for a given category.

@return array
Returns the children for a given category .