base()
Returns a base.
Table of Contents
Description
base(...$lot): Base;This function returns a Base class instance.
Example
$base = base('.\lot\base\index.db');Function names are case-insensitive in PHP so you can use capitalization to make it to look like a direct instance of the Base class.
// Using method `Base::__construct()`
$base = new Base('.\lot\base\index.db');
// Using method `Base::from()`
$base = Base::from('.\lot\base\index.db');
// Using function `base()`
$base = Base('.\lot\base\index.db');base()
Returns a base.