public function delete($deleteReference = false)
    {
        $returnValue = $this->getImplementation()->delete($this, $deleteReference);
        $eventManager = $this->getServiceManager()->get(EventManager::SERVICE_ID);
        $eventManager->trigger(new ResourceDeleted($this->getUri()));
        return (bool) $returnValue;
    }
public function delete($deleteReference = false)
    {
        $returnValue = $this->getImplementation()->delete($this, $deleteReference);
        $eventManager = $this->getServiceManager()->get(EventManager::SERVICE_ID);
        $eventManager->trigger(new ResourceDeleted($this->getUri()));
        return (bool) $returnValue;
    }
public function delete ( $ deleteReference = false ) { $ returnValue = $ this -> getImplementation ( ) -> delete ( $ this , $ deleteReference ) ; $ eventManager = $ this -> getServiceManager ( ) -> get ( EventManager :: SERVICE_ID ) ; $ eventManager -> trigger ( new ResourceDeleted ( $ this -> getUri ( ) ) ) ; return ( bool ) $ returnValue ; }
remove any assignation made to this resource, the uri is consequently

@access public
@author patrick.plichart@tudor.lu
@param  boolean deleteReference set deleteRefence to true when you need that all reference to this resource are removed.
@return boolean
remove any assignation made to this resource the uri is consequently