Phrozn/Registry/Container.php
public function setDao(\Phrozn\Registry\Dao $dao)
    {
        $this->dao = $dao;
        if ($dao instanceof Dao) {
            $dao->setContainer($this);
        }
        return $this;
    }
public function setDao(\Phrozn\Registry\Dao $dao)
    {
        $this->dao = $dao;
        if ($dao instanceof Dao) {
            $dao->setContainer($this);
        }
        return $this;
    }
public function setDao ( \ Phrozn \ Registry \ Dao $ dao ) { $ this -> dao = $ dao ; if ( $ dao instanceof Dao ) { $ dao -> setContainer ( $ this ) ; } return $ this ; }
Set DAO.

@param \Phrozn\Registry\Dao $dao Data access object

@return \Phrozn\Has\Dao
Set DAO .