private function addObjectToCache(ModelInterface $obj)
    {
        static::$objectCache[$this->objType()][$obj->id()] = $obj;

        return $this;
    }
private function addObjectToCache(ModelInterface $obj)
    {
        static::$objectCache[$this->objType()][$obj->id()] = $obj;

        return $this;
    }
private function addObjectToCache ( ModelInterface $ obj ) { static :: $ objectCache [ $ this -> objType ( ) ] [ $ obj -> id ( ) ] = $ obj ; return $ this ; }
Add an object to the cache store.

@param ModelInterface $obj The object to store.
@return HierarchicalInterface Chainable
Add an object to the cache store .