[ create a new paste ] login | about

Link: http://codepad.org/v8cj85Mk    [ raw code | fork ]

fede - Plain Text, pasted on Nov 27:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
    /**
     * Return instance of Zf_Domain_Entity.
     *
     * @return Zf_Domain_Entity
     * @throws Zf_DataSource_Dao_Exception
     */
    public function getEntity()
    {
        if (null === $this->_entity) {
            throw new Zf_DataSource_Dao_Exception('Entity not defined');
        }
        return clone $this->_entity;
    }



Create a new paste based on this one


Comments: