Pheasant\Relationships\HasOne::__construct PHP Метод

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

Constructor
public __construct ( $class, $local, $foreign = null, $allowEmpty = false )
    public function __construct($class, $local, $foreign = null, $allowEmpty = false)
    {
        parent::__construct($class, $local, $foreign);
        $this->_allowEmpty = $allowEmpty;
    }