public function getContainerFormats($container)
    {
        if (isset($this->formats[$container])) {
            return $this->formats[$container];
        }

        return $this->defaultFormats;
    }
public function getContainerFormats($container)
    {
        if (isset($this->formats[$container])) {
            return $this->formats[$container];
        }

        return $this->defaultFormats;
    }
public function getContainerFormats ( $ container ) { if ( isset ( $ this -> formats [ $ container ] ) ) { return $ this -> formats [ $ container ] ; } return $ this -> defaultFormats ; }
Return formats for a container.

@param $container
@return array
Return formats for a container .