src/Common/Internal/Atom/Feed.php
public function setCategory(array $category)
    {
        $categoryClassInstance = new Category();
        foreach ($category as $categoryInstance) {
            Validate::isInstanceOf(
                $categoryInstance,
                $categoryClassInstance,
                'category'
            );
        }
        $this->category = $category;
    }
public function setCategory(array $category)
    {
        $categoryClassInstance = new Category();
        foreach ($category as $categoryInstance) {
            Validate::isInstanceOf(
                $categoryInstance,
                $categoryClassInstance,
                'category'
            );
        }
        $this->category = $category;
    }
public function setCategory ( array $ category ) { $ categoryClassInstance = new Category ( ) ; foreach ( $ category as $ categoryInstance ) { Validate :: isInstanceOf ( $ categoryInstance , $ categoryClassInstance , 'category' ) ; } $ this -> category = $ category ; }
Sets the category of the feed.

@param array $category The category of the feed
Sets the category of the feed .