public function addIncluded(Data $newData)
    {
        $this->included[$newData->getType()][$newData->getId()] = $newData;
    }
public function addIncluded(Data $newData)
    {
        $this->included[$newData->getType()][$newData->getId()] = $newData;
    }
public function addIncluded ( Data $ newData ) { $ this -> included [ $ newData -> getType ( ) ] [ $ newData -> getId ( ) ] = $ newData ; }
add a Data object to include array on result payload

@param \PhalconRest\Result\Data $newData
add a Data object to include array on result payload