#186 -- Revert Proxy changes to fix regression bug on Docker.

This commit is contained in:
Buster Silver 2017-07-20 03:28:00 -05:00
parent 275c74c014
commit cc5380c3cf
16 changed files with 1 additions and 4686 deletions

View File

@ -37,7 +37,7 @@ return function (\Slim\Container $di, $settings) {
$options = [
'autoGenerateProxies' => !APP_IN_PRODUCTION,
'proxyNamespace' => 'AppProxy',
'proxyPath' => APP_INCLUDE_BASE . '/models/Proxy',
'proxyPath' => APP_INCLUDE_TEMP . '/proxies',
'modelPath' => APP_INCLUDE_BASE . '/models',
'conn' => [
'driver' => 'pdo_mysql',

View File

@ -1,294 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Analytics extends \Entity\Analytics implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'station_id', 'type', 'timestamp', 'number_min', 'number_max', 'number_avg', 'station'];
}
return ['__isInitialized__', 'id', 'station_id', 'type', 'timestamp', 'number_min', 'number_max', 'number_avg', 'station'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Analytics $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function calculateFromArray($number_set)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'calculateFromArray', [$number_set]);
return parent::calculateFromArray($number_set);
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,294 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ApiKey extends \Entity\ApiKey implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'owner', 'calls_made', 'created'];
}
return ['__isInitialized__', 'id', 'owner', 'calls_made', 'created'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ApiKey $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function preSave()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'preSave', []);
return parent::preSave();
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,305 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Listener extends \Entity\Listener implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'station_id', 'listener_uid', 'listener_ip', 'listener_user_agent', 'listener_hash', 'timestamp_start', 'timestamp_end', 'station'];
}
return ['__isInitialized__', 'id', 'station_id', 'listener_uid', 'listener_ip', 'listener_user_agent', 'listener_hash', 'timestamp_start', 'timestamp_end', 'station'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Listener $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getTimestamp()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTimestamp', []);
return parent::getTimestamp();
}
/**
* {@inheritDoc}
*/
public function getConnectedSeconds()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getConnectedSeconds', []);
return parent::getConnectedSeconds();
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,283 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Role extends \Entity\Role implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'name', 'users', 'permissions'];
}
return ['__isInitialized__', 'id', 'name', 'users', 'permissions'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Role $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,283 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class RolePermission extends \Entity\RolePermission implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'role_id', 'role', 'action_name', 'station_id', 'station'];
}
return ['__isInitialized__', 'id', 'role_id', 'role', 'action_name', 'station_id', 'station'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (RolePermission $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,283 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Settings extends \Entity\Settings implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'setting_key', 'setting_value'];
}
return ['__isInitialized__', 'setting_key', 'setting_value'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Settings $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,305 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Song extends \Entity\Song implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'text', 'artist', 'title', 'created', 'play_count', 'last_played', 'history'];
}
return ['__isInitialized__', 'id', 'text', 'artist', 'title', 'created', 'play_count', 'last_played', 'history'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Song $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function preSave()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'preSave', []);
return parent::preSave();
}
/**
* {@inheritDoc}
*/
public function api()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'api', []);
return parent::api();
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,316 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class SongHistory extends \Entity\SongHistory implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'song_id', 'station_id', 'playlist_id', 'media_id', 'request_id', 'timestamp_cued', 'sent_to_autodj', 'timestamp_start', 'duration', 'listeners_start', 'timestamp_end', 'listeners_end', 'unique_listeners', 'delta_total', 'delta_positive', 'delta_negative', 'delta_points', 'song', 'station', 'playlist', 'request', 'media'];
}
return ['__isInitialized__', 'id', 'song_id', 'station_id', 'playlist_id', 'media_id', 'request_id', 'timestamp_cued', 'sent_to_autodj', 'timestamp_start', 'duration', 'listeners_start', 'timestamp_end', 'listeners_end', 'unique_listeners', 'delta_total', 'delta_positive', 'delta_negative', 'delta_points', 'song', 'station', 'playlist', 'request', 'media'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (SongHistory $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getTimestamp()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTimestamp', []);
return parent::getTimestamp();
}
/**
* {@inheritDoc}
*/
public function getListeners()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getListeners', []);
return parent::getListeners();
}
/**
* {@inheritDoc}
*/
public function api($now_playing = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'api', [$now_playing]);
return parent::api($now_playing);
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,404 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Station extends \Entity\Station implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'name', 'frontend_type', 'frontend_config', 'backend_type', 'backend_config', 'description', 'url', 'radio_base_dir', 'radio_media_dir', 'nowplaying', 'automation_settings', 'automation_timestamp', 'enable_requests', 'request_delay', 'request_threshold', 'enable_streamers', 'needs_restart', 'has_started', 'history', 'media', 'streamers', 'permissions', 'playlists', 'mounts'];
}
return ['__isInitialized__', 'id', 'name', 'frontend_type', 'frontend_config', 'backend_type', 'backend_config', 'description', 'url', 'radio_base_dir', 'radio_media_dir', 'nowplaying', 'automation_settings', 'automation_timestamp', 'enable_requests', 'request_delay', 'request_threshold', 'enable_streamers', 'needs_restart', 'has_started', 'history', 'media', 'streamers', 'permissions', 'playlists', 'mounts'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Station $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getShortName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShortName', []);
return parent::getShortName();
}
/**
* {@inheritDoc}
*/
public function getFrontendAdapter(\Interop\Container\ContainerInterface $di)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFrontendAdapter', [$di]);
return parent::getFrontendAdapter($di);
}
/**
* {@inheritDoc}
*/
public function getBackendAdapter(\Interop\Container\ContainerInterface $di)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBackendAdapter', [$di]);
return parent::getBackendAdapter($di);
}
/**
* {@inheritDoc}
*/
public function setRadioBaseDir($new_dir)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRadioBaseDir', [$new_dir]);
return parent::setRadioBaseDir($new_dir);
}
/**
* {@inheritDoc}
*/
public function setRadioMediaDir($new_dir)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRadioMediaDir', [$new_dir]);
return parent::setRadioMediaDir($new_dir);
}
/**
* {@inheritDoc}
*/
public function getRadioMediaDir()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRadioMediaDir', []);
return parent::getRadioMediaDir();
}
/**
* {@inheritDoc}
*/
public function getRadioPlaylistsDir()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRadioPlaylistsDir', []);
return parent::getRadioPlaylistsDir();
}
/**
* {@inheritDoc}
*/
public function getRadioConfigDir()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRadioConfigDir', []);
return parent::getRadioConfigDir();
}
/**
* {@inheritDoc}
*/
public function writeConfiguration(\Interop\Container\ContainerInterface $di)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'writeConfiguration', [$di]);
return parent::writeConfiguration($di);
}
/**
* {@inheritDoc}
*/
public function removeConfiguration(\Interop\Container\ContainerInterface $di)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeConfiguration', [$di]);
return parent::removeConfiguration($di);
}
/**
* {@inheritDoc}
*/
public function api(\AzuraCast\Radio\Frontend\FrontendAbstract $fa)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'api', [$fa]);
return parent::api($fa);
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,360 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StationMedia extends \Entity\StationMedia implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'station_id', 'song_id', 'title', 'artist', 'album', 'isrc', 'length', 'length_text', 'path', 'mtime', 'fade_overlap', 'fade_in', 'fade_out', 'cue_in', 'cue_out', 'station', 'song', 'playlists'];
}
return ['__isInitialized__', 'id', 'station_id', 'song_id', 'title', 'artist', 'album', 'isrc', 'length', 'length_text', 'path', 'mtime', 'fade_overlap', 'fade_in', 'fade_out', 'cue_in', 'cue_out', 'station', 'song', 'playlists'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StationMedia $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function setLength($length)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLength', [$length]);
return parent::setLength($length);
}
/**
* {@inheritDoc}
*/
public function getCalculatedLength()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCalculatedLength', []);
return parent::getCalculatedLength();
}
/**
* {@inheritDoc}
*/
public function getFullPath()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFullPath', []);
return parent::getFullPath();
}
/**
* {@inheritDoc}
*/
public function getAnnotations()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAnnotations', []);
return parent::getAnnotations();
}
/**
* {@inheritDoc}
*/
public function loadFromFile($force = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'loadFromFile', [$force]);
return parent::loadFromFile($force);
}
/**
* {@inheritDoc}
*/
public function writeToFile()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'writeToFile', []);
return parent::writeToFile();
}
/**
* {@inheritDoc}
*/
public function moveToNotProcessed()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'moveToNotProcessed', []);
return parent::moveToNotProcessed();
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,305 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StationMount extends \Entity\StationMount implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'station_id', 'name', 'is_default', 'is_public', 'fallback_mount', 'relay_url', 'authhash', 'enable_autodj', 'autodj_format', 'autodj_bitrate', 'frontend_config', 'station'];
}
return ['__isInitialized__', 'id', 'station_id', 'name', 'is_default', 'is_public', 'fallback_mount', 'relay_url', 'authhash', 'enable_autodj', 'autodj_format', 'autodj_bitrate', 'frontend_config', 'station'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StationMount $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function setName($new_name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$new_name]);
return parent::setName($new_name);
}
/**
* {@inheritDoc}
*/
public function api(\AzuraCast\Radio\Frontend\FrontendAbstract $fa)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'api', [$fa]);
return parent::api($fa);
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,338 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StationPlaylist extends \Entity\StationPlaylist implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'station_id', 'name', 'type', 'is_enabled', 'play_per_songs', 'play_per_minutes', 'schedule_start_time', 'schedule_end_time', 'play_once_time', 'weight', 'include_in_automation', 'station', 'media'];
}
return ['__isInitialized__', 'id', 'station_id', 'name', 'type', 'is_enabled', 'play_per_songs', 'play_per_minutes', 'schedule_start_time', 'schedule_end_time', 'play_once_time', 'weight', 'include_in_automation', 'station', 'media'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StationPlaylist $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getShortName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShortName', []);
return parent::getShortName();
}
/**
* {@inheritDoc}
*/
public function getScheduleStartTimeText()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getScheduleStartTimeText', []);
return parent::getScheduleStartTimeText();
}
/**
* {@inheritDoc}
*/
public function getScheduleEndTimeText()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getScheduleEndTimeText', []);
return parent::getScheduleEndTimeText();
}
/**
* {@inheritDoc}
*/
public function getPlayOnceTimeText()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPlayOnceTimeText', []);
return parent::getPlayOnceTimeText();
}
/**
* {@inheritDoc}
*/
public function export($file_format = 'pls', $absolute_paths = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'export', [$file_format, $absolute_paths]);
return parent::export($file_format, $absolute_paths);
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,283 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StationRequest extends \Entity\StationRequest implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'station_id', 'track_id', 'timestamp', 'played_at', 'ip', 'station', 'track'];
}
return ['__isInitialized__', 'id', 'station_id', 'track_id', 'timestamp', 'played_at', 'ip', 'station', 'track'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StationRequest $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,283 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StationStreamer extends \Entity\StationStreamer implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'station_id', 'streamer_username', 'streamer_password', 'comments', 'is_active', 'station'];
}
return ['__isInitialized__', 'id', 'station_id', 'streamer_username', 'streamer_password', 'comments', 'is_active', 'station'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StationStreamer $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}

View File

@ -1,349 +0,0 @@
<?php
namespace AppProxy\__CG__\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class User extends \Entity\User implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
* {@inheritDoc}
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
return parent::__set($name, $value);
}
/**
* {@inheritDoc}
* @param string $name
* @return boolean
*/
public function __isset($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return parent::__isset($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'email', 'auth_password', 'name', 'timezone', 'locale', 'theme', 'created_at', 'updated_at', 'roles'];
}
return ['__isInitialized__', 'id', 'email', 'auth_password', 'name', 'timezone', 'locale', 'theme', 'created_at', 'updated_at', 'roles'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (User $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function preSave()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'preSave', []);
return parent::preSave();
}
/**
* {@inheritDoc}
*/
public function getAvatar($size = 50)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAvatar', [$size]);
return parent::getAvatar($size);
}
/**
* {@inheritDoc}
*/
public function verifyPassword($password)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'verifyPassword', [$password]);
return parent::verifyPassword($password);
}
/**
* {@inheritDoc}
*/
public function getAuthPassword()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAuthPassword', []);
return parent::getAuthPassword();
}
/**
* {@inheritDoc}
*/
public function setAuthPassword($password)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAuthPassword', [$password]);
return parent::setAuthPassword($password);
}
/**
* {@inheritDoc}
*/
public function generateRandomPassword()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'generateRandomPassword', []);
return parent::generateRandomPassword();
}
/**
* {@inheritDoc}
*/
public function __call($method, $arguments)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$method, $arguments]);
return parent::__call($method, $arguments);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($key, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$key, $value]);
return parent::offsetSet($key, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$key]);
return parent::offsetGet($key);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function fromArray(\Doctrine\ORM\EntityManager $em, $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fromArray', [$em, $source]);
return parent::fromArray($em, $source);
}
/**
* {@inheritDoc}
*/
public function toArray(\Doctrine\ORM\EntityManager $em, $deep = false, $form_mode = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$em, $deep, $form_mode]);
return parent::toArray($em, $deep, $form_mode);
}
}