public function getSchema() { if ($this->_schema) { return $this->_schema; } return $this->_schema = SchemaLoader::load('User\\Model\\UserSchemaProxy'); }
public function getSchema() { if ($this->_schema) { return $this->_schema; } return $this->_schema = SchemaLoader::load('ProductBundle\\Model\\ProductFileSchemaProxy'); }
public function getSchema() { if ($this->_schema) { return $this->_schema; } return $this->_schema = SchemaLoader::load('OrderBundle\\Model\\OrderItemSchemaProxy'); }
public function getSchema() { if ($this->_schema) { return $this->_schema; } return $this->_schema = SchemaLoader::load('LazyRecord\\Model\\MetadataSchemaProxy'); }
public function getSchema() { if ($this->_schema) { return $this->_schema; } elseif (@constant('static::SCHEMA_PROXY_CLASS')) { return $this->_schema = SchemaLoader::load(static::SCHEMA_PROXY_CLASS); } throw new RuntimeException('schema is not defined in ' . get_class($this)); }
public function getSchema() { if ($this->_schema) { return $this->_schema; } elseif (@constant('static::SCHEMA_PROXY_CLASS')) { // the SCHEMA_PROXY_CLASS is from the *Base.php file. if ($this->_schema = SchemaLoader::load(static::SCHEMA_PROXY_CLASS)) { return $this->_schema; } throw new Exception("Can not load " . static::SCHEMA_PROXY_CLASS); } throw new RuntimeException("schema is not defined in " . get_class($this)); }
public function getSchema() { if ($this->_schema) { return $this->_schema; } elseif (@constant('static::schema_proxy_class')) { return $this->_schema = SchemaLoader::load(static::schema_proxy_class); } throw new RuntimeException("schema is not defined in " . get_class($this)); }