src/AppBundle/Entity/Channel.php
/**
     * Add categories
     *
     * @param Wallpaper $categories
     * @return Categorie
     */
Add categories
@param Wallpaper $categories
@return Categorie
Add categories @param Wallpaper $categories @return Categorie
public function addCategory(Category $categories)
    {
        $this->categories[] = $categories;
        return $this;
    }
public function addCategory ( Category $ categories ) { $ this -> categories [ ] = $ categories ; return $ this ; }
Add categories
 @param Wallpaper $categories
 @return Categorie
Add categories @param Wallpaper $categories @return Categorie