setResourceNames() public static method

Set resource names.
public static setResourceNames ( array $names ) : void
$names array
return void
Ejemplo n.º 1
0
 protected function _initDatabaseObject()
 {
     $container = $this->getResource('container');
     DatabaseObject::setEventDispatcher($container->getService('dispatcher'));
     DatabaseObject::setResourceNames($container->getParameter('resourceNames'));
 }