LazyRecord\Schema\DeclareSchema::__construct PHP Method

__construct() public method

The constructor calls build method to build the schema information.
public __construct ( array $options = [] )
$options array
    public function __construct(array $options = array())
    {
        $this->build($options);
    }

Usage Example

コード例 #1
0
 public function __construct($parentSchema, array $options = array())
 {
     $this->parentSchema = $parentSchema;
     parent::__construct($options);
 }