public function createType()
    {
        $clientObjectType = $this->getItemTypeName();
        $clientObject = new $clientObjectType($this->getContext());
        $clientObject->parentCollection = $this;
        return $clientObject;
    }
public function createType()
    {
        $clientObjectType = $this->getItemTypeName();
        $clientObject = new $clientObjectType($this->getContext());
        $clientObject->parentCollection = $this;
        return $clientObject;
    }
public function createType ( ) { $ clientObjectType = $ this -> getItemTypeName ( ) ; $ clientObject = new $ clientObjectType ( $ this -> getContext ( ) ) ; $ clientObject -> parentCollection = $ this ; return $ clientObject ; }
Creates resource for a collection
@return ClientObject
Creates resource for a collection