Imbo\Model\Groups::getGroups PHP Метод

getGroups() публичный Метод

Get the groups
public getGroups ( ) : array
Результат array
    public function getGroups()
    {
        return $this->groups;
    }

Usage Example

Пример #1
0
 /**
  * @covers Imbo\Model\Groups::getGroups
  * @covers Imbo\Model\Groups::setGroups
  */
 public function testSetAndGetGroups()
 {
     $this->assertSame([], $this->model->getGroups());
     $this->assertSame($this->model, $this->model->setGroups(['group' => [], 'group2' => []]));
     $this->assertSame(['group' => [], 'group2' => []], $this->model->getGroups());
 }
All Usage Examples Of Imbo\Model\Groups::getGroups