Gc\Db\AbstractTable::__construct PHP 메소드

__construct() 공개 메소드

Initialize constructor and save instance of \Zend\Db\TableGateway\TableGateway($name) in self::$tables
public __construct ( )
    public function __construct()
    {
        if (!empty($this->name) and !array_key_exists($this->name, self::$tables)) {
            self::$tables[$this->name] = new TableGateway\TableGateway($this->name, TableGateway\Feature\GlobalAdapterFeature::getStaticAdapter());
        }
        $this->init();
    }