public function getChild($name)
    {
        $obj = $this->carddavBackend->getCard($this->addressBookInfo['id'], $name);
        if (!$obj) {
            throw new DAV\Exception\NotFound('Card not found');
        }

        return new Card($this->carddavBackend, $this->addressBookInfo, $obj);
    }
public function getChild($name)
    {
        $obj = $this->carddavBackend->getCard($this->addressBookInfo['id'], $name);
        if (!$obj) {
            throw new DAV\Exception\NotFound('Card not found');
        }

        return new Card($this->carddavBackend, $this->addressBookInfo, $obj);
    }
public function getChild ( $ name ) { $ obj = $ this -> carddavBackend -> getCard ( $ this -> addressBookInfo [ 'id' ] , $ name ) ; if ( ! $ obj ) { throw new DAV \ Exception \ NotFound ( 'Card not found' ) ; } return new Card ( $ this -> carddavBackend , $ this -> addressBookInfo , $ obj ) ; }
Returns a card.

@param string $name

@return Card
Returns a card .