public function add($file_path, $media = 'screen', $condition = null)
    {
        $_fp = $this->__template->findAsset($file_path);
        if ($_fp || \AssetsManager\Loader::isUrl($file_path)) {
            $this->registry->addEntry(array(
                'file'=>$_fp, 'media'=>$media, 'condition'=>$condition
            ), 'css_files');
        } else {
            throw new \InvalidArgumentException(
                sprintf('CSS file "%s" not found!', $file_path)
            );
        }
        return $this;
    }
public function add($file_path, $media = 'screen', $condition = null)
    {
        $_fp = $this->__template->findAsset($file_path);
        if ($_fp || \AssetsManager\Loader::isUrl($file_path)) {
            $this->registry->addEntry(array(
                'file'=>$_fp, 'media'=>$media, 'condition'=>$condition
            ), 'css_files');
        } else {
            throw new \InvalidArgumentException(
                sprintf('CSS file "%s" not found!', $file_path)
            );
        }
        return $this;
    }
public function add ( $ file_path , $ media = 'screen' , $ condition = null ) { $ _fp = $ this -> __template -> findAsset ( $ file_path ) ; if ( $ _fp || \ AssetsManager \ Loader :: isUrl ( $ file_path ) ) { $ this -> registry -> addEntry ( array ( 'file' => $ _fp , 'media' => $ media , 'condition' => $ condition ) , 'css_files' ) ; } else { throw new \ InvalidArgumentException ( sprintf ( 'CSS file "%s" not found!' , $ file_path ) ) ; } return $ this ; }
Add a CSS file in CSS stack

@param string $file_path The new CSS path
@param string $media The media type for the CSS file (default is "screen")
@param string|null $condition Define a condition (for IE) for this stylesheet
@return self
@throws \InvalidArgumentException if the path doesn't exist
Add a CSS file in CSS stack