public function getBundles($extension = null)
    {
        if ($extension === null) {
            return $this->bundles;
        }
        elseif (isset($this->bundles[$extension])) {
            return $this->bundles[$extension];
        }
        else {
            return null;
        }
    }
public function getBundles($extension = null)
    {
        if ($extension === null) {
            return $this->bundles;
        }
        elseif (isset($this->bundles[$extension])) {
            return $this->bundles[$extension];
        }
        else {
            return null;
        }
    }
public function getBundles ( $ extension = null ) { if ( $ extension === null ) { return $ this -> bundles ; } elseif ( isset ( $ this -> bundles [ $ extension ] ) ) { return $ this -> bundles [ $ extension ] ; } else { return null ; } }
Returns bundles.
@param string $extension Extension name. Eg: css
@return self
Returns bundles .