public function get(string $id = null): array
    {
        if ($this->has($id)) {
            return $this->cache[$id];
        }

        return [];
    }
public function get(string $id = null): array
    {
        if ($this->has($id)) {
            return $this->cache[$id];
        }

        return [];
    }
public function get ( string $ id = null ) : array { if ( $ this -> has ( $ id ) ) { return $ this -> cache [ $ id ] ; } return [ ] ; }
Retrieve initial attributes for a single entity.

@param string $id

@return array
Retrieve initial attributes for a single entity .