LazyRecord\Schema\Helper\BaseHelper::__construct PHP Метод

__construct() публичный Метод

public __construct ( DeclareSchema $schema, $arguments = [] )
$schema LazyRecord\Schema\DeclareSchema
    public function __construct(DeclareSchema $schema, $arguments = array())
    {
        $this->schema = $schema;
        $this->arguments = $arguments;
        if (!method_exists($this, 'init')) {
            throw new Exception('init method is not defined in helper');
        }
        call_user_func_array(array($this, 'init'), $arguments);
    }
BaseHelper