src/Shop/UserBundle/Entity/ManagerContractor.php
/**
     * Add categories
     *
     * @param \Shop\CatalogBundle\Entity\Category $categories
     * @return ManagerContractor
     */
Add categories
@param \Shop\CatalogBundle\Entity\Category $categories
@return ManagerContractor
Add categories @param \ Shop \ CatalogBundle \ Entity \ Category $categories @return ManagerContractor
public function addCategory(Category $categories)
    {
        $this->categories[] = $categories;
        return $this;
    }
public function addCategory ( Category $ categories ) { $ this -> categories [ ] = $ categories ; return $ this ; }
Add categories
 @param \Shop\CatalogBundle\Entity\Category $categories
 @return ManagerContractor
Add categories @param \ Shop \ CatalogBundle \ Entity \ Category $categories @return ManagerContractor