LazyRecord\Metadata::__construct PHP Метод

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

This constructor requires the first parameter to be the data source Id to initialize the metadata object.
public __construct ( PDO $connection, BaseDriver $driver )
$connection PDO
$driver SQLBuilder\Driver\BaseDriver
    public function __construct(PDO $connection, BaseDriver $driver)
    {
        $this->connection = $connection;
        $this->driver = $driver;
        $this->init();
    }