Pantheon\Terminus\Collections\TerminusCollection::getMemberList PHP Метод

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

Returns an array of data where the keys are the attribute $key and the values are the attribute $value
public getMemberList ( string $key = 'id', string $value = 'name' ) : array
$key string Name of attribute to make array keys
$value string Name of attribute to make array values
Результат array Array rendered as requested $this->attribute->$key = $this->attribute->$value
    public function getMemberList($key = 'id', $value = 'name')
    {
        $member_list = $this->getFilteredMemberList([], $key, $value);
        return $member_list;
    }