lib/Face/Core/FaceLoader/CachableLoader.php
protected function cacheFace(EntityFace $face){
        // todo : improve
        $serialized = serialize($face);
        $this->getCache()->set("name_".$face->getName(),$serialized);
        $this->getCache()->set("class_".$face->getClass(),$serialized);
    }
protected function cacheFace(EntityFace $face){
        // todo : improve
        $serialized = serialize($face);
        $this->getCache()->set("name_".$face->getName(),$serialized);
        $this->getCache()->set("class_".$face->getClass(),$serialized);
    }
protected function cacheFace ( EntityFace $ face ) { // todo : improve $ serialized = serialize ( $ face ) ; $ this -> getCache ( ) -> set ( "name_" . $ face -> getName ( ) , $ serialized ) ; $ this -> getCache ( ) -> set ( "class_" . $ face -> getClass ( ) , $ serialized ) ; }
register a face in the cache
@param EntityFace $faces
register a face in the cache