RedBeanPHP\Repository::__construct PHP 메소드

__construct() 공개 메소드

Creates a new instance of the bean respository class.
public __construct ( redbeanphp\OODB $oodb, RedBeanPHP\QueryWriter $writer ) : void
$oodb redbeanphp\OODB
$writer RedBeanPHP\QueryWriter the Query Writer to use for this repository
리턴 void
    public function __construct(OODB $oodb, QueryWriter $writer)
    {
        $this->writer = $writer;
        $this->oodb = $oodb;
    }