public listCollections ( ) : array | ||
리턴 | array |
public function listCollections()
{
foreach ($this->getCollectionNames() as $name) {
if (!isset($this->collections[$name])) {
$this->collections[$name] = new Collection($name, $this);
}
}
return $this->collections;
}