Index
A
- AssetsManagerPlugin — Class in namespace AssetsManager\Composer
- AssetsManagerPlugin::activate() — Method in class AssetsManagerPlugin
- Add the
\AssetsManager\Composer\Dispatch
installer - AbstractAssetsAutoloadGenerator — Class in namespace AssetsManager\Composer\Autoload
- AssetsAutoloadGenerator — Class in namespace AssetsManager\Composer\Autoload
- AssetsInstaller — Class in namespace AssetsManager\Composer\Installer
- AssetsInstallerInterface — Class in namespace AssetsManager\Composer\Installer
- AbstractAssetsPackage — Class in namespace AssetsManager\Package
- Class to manage assets paths
- AssetsPackage — Class in namespace AssetsManager\Package
- AssetsPackage::addAssetsPreset() — Method in class AssetsPackage
- AssetsPackageInterface — Class in namespace AssetsManager\Package
- AssetsPackageInterface
- AssetsPresetInterface — Class in namespace AssetsManager\Package
- AssetsPresetInterface
B
- Loader::buildWebPath() — Method in class Loader
- Build a web path ready to use in HTML
C
- Filesystem::copy() — Method in class Filesystem
- Exact same code as
copyThenRemove()
method but without removing - Config — Class in namespace AssetsManager
- ConfiguratorInterface — Class in namespace AssetsManager\Config
- AssetsPackage::createFromAssetsLoader() — Method in class AssetsPackage
- Create a new instance from an
AssetsManager\Loader
instance - AssetsPackageInterface::createFromAssetsLoader() — Method in class AssetsPackageInterface
- Create a new instance from an
AssetsManager\Loader
instance - Css — Class in namespace AssetsManager\Package\PresetAdapter
D
- DumpAutoloadEventHandler — Class in namespace AssetsManager\Composer\Autoload
- Dispatch — Class in namespace AssetsManager\Composer
- DefaultConfig — Class in namespace AssetsManager\Config
- $Css — Property in class Css
- $Javascript — Property in class Javascript
E
- Error — Class in namespace AssetsManager
F
- Filesystem — Class in namespace AssetsManager\Composer\Util
- This class just completes the default
Composer\Util\Filesystem
with acopy
method - Loader::findPreset() — Method in class Loader
- Get a preset instance from static loader
- Loader::findPackage() — Method in class Loader
- Get a package instance from static loader
- Loader::find() — Method in class Loader
- Find an asset file in the filesystem
- Loader::findInPackage() — Method in class Loader
- Find an asset file in the filesystem of a specific package
- Loader::findInPath() — Method in class Loader
- Find an asset file in a package's path
- AssetsPackage::findInPackage() — Method in class AssetsPackage
- Find an asset file in the filesystem of a specific package
- AssetsPackage::find() — Method in class AssetsPackage
- Preset::findInPackage() — Method in class Preset
- Parse and load an assets file in a template object
G
- AssetsManagerPlugin::getSubscribedEvents() — Method in class AssetsManagerPlugin
- Composer events plugin's subscription
- AbstractAssetsAutoloadGenerator::getInstance() — Method in class AbstractAssetsAutoloadGenerator
- Get a singleton instance
- AbstractAssetsAutoloadGenerator::getAssetsInstaller() — Method in class AbstractAssetsAutoloadGenerator
- AbstractAssetsAutoloadGenerator::getRegistry() — Method in class AbstractAssetsAutoloadGenerator
- Get the current assets database
- AbstractAssetsAutoloadGenerator::generate() — Method in class AbstractAssetsAutoloadGenerator
- This must generate the Assets database JSON file
- AssetsAutoloadGenerator::generate() — Method in class AssetsAutoloadGenerator
- This must generate the Assets database JSON file
- DumpAutoloadEventHandler::generate() — Method in class DumpAutoloadEventHandler
- {@inheritDoc}
- DumpAutoloadEventHandler::getFullDb() — Method in class DumpAutoloadEventHandler
- Build the complete database array
- Dispatch::getComposer() — Method in class Dispatch
- Dispatch::getIo() — Method in class Dispatch
- Dispatch::getInstallPath() — Method in class Dispatch
- {@inheritDoc}
- Dispatch::getRegistry() — Method in class Dispatch
- Get the current assets database
- Dispatch::getGenerator() — Method in class Dispatch
- Get the generator called at object destruction
- AssetsInstaller::getIo() — Method in class AssetsInstaller
- AssetsInstaller::getAppBasePath() — Method in class AssetsInstaller
- AssetsInstaller::getVendorDir() — Method in class AssetsInstaller
- AssetsInstaller::getAssetsDir() — Method in class AssetsInstaller
- AssetsInstaller::getAssetsVendorDir() — Method in class AssetsInstaller
- AssetsInstaller::getDocumentRoot() — Method in class AssetsInstaller
- AssetsInstaller::getAssetsDbFilename() — Method in class AssetsInstaller
- AssetsInstaller::getAssetsInstallPath() — Method in class AssetsInstaller
- AssetsInstaller::guessConfigurationEntry() — Method in class AssetsInstaller
- Search a configuration value in a package's config or the global config if so
- Config::get() — Method in class Config
- Config::getDefault() — Method in class Config
- Config::getInternal() — Method in class Config
- Config::getRegistry() — Method in class Config
- ConfiguratorInterface::getDefaults() — Method in class ConfiguratorInterface
- DefaultConfig::getDefaults() — Method in class DefaultConfig
- The real configuration entries
- Loader::getInstance() — Method in class Loader
- Loader static instance constructor
- Loader::getDocumentRoot() — Method in class Loader
- Get the document root directory
- Loader::getAssetsDb() — Method in class Loader
- Get the package's assets database
- Loader::getAssetsWebPath() — Method in class Loader
- Get the web path for assets
- Loader::getPackageAssetsPath() — Method in class Loader
- Get the assets full path for a specific package
- Loader::getPackageAssetsWebPath() — Method in class Loader
- Get the web path for assets of a specific package
- Loader::getPackage() — Method in class Loader
- Get a package instance
- Loader::getPreset() — Method in class Loader
- Get a preset instance
- Loader::getAssets() — Method in class Loader
- Get the package's assets database
- AbstractAssetsPackage::getRootDirectory() — Method in class AbstractAssetsPackage
- Get the project root directory absolute path
- AbstractAssetsPackage::getAssetsDirectory() — Method in class AbstractAssetsPackage
- Get the project's assets directory, relative to
$this->_root_dir
- AbstractAssetsPackage::getVendorDirectory() — Method in class AbstractAssetsPackage
- Get the project's vendor directory, relative to
$this->_root_dir
- AbstractAssetsPackage::getAssetsVendorDirectory() — Method in class AbstractAssetsPackage
- Get the project's vendor directory, relative to
$this->_root_dir
- AbstractAssetsPackage::getFullPath() — Method in class AbstractAssetsPackage
- Get the absolute path in the package
- AbstractAssetsPackage::getAssetsRealPath() — Method in class AbstractAssetsPackage
- Get the assets full path
- AbstractAssetsPackage::getVendorRealPath() — Method in class AbstractAssetsPackage
- Get the assets full path
- AbstractAssetsPackage::getAssetsVendorRealPath() — Method in class AbstractAssetsPackage
- Get the assets vendor full path
- AssetsPackage::getName() — Method in class AssetsPackage
- AssetsPackage::getVersion() — Method in class AssetsPackage
- AssetsPackage::getRelativePath() — Method in class AssetsPackage
- AssetsPackage::getAssetsPath() — Method in class AssetsPackage
- AssetsPackage::getAssetsPresets() — Method in class AssetsPackage
- AssetsPackage::getAssetsPreset() — Method in class AssetsPackage
- AssetsPackage::getRelativeFullPath() — Method in class AssetsPackage
- Get the relative path in the package
- AssetsPackage::getArray() — Method in class AssetsPackage
- Get all necessary arranged package infos as an array
- AssetsPresetInterface::getStatements() — Method in class AssetsPresetInterface
- AssetsPresetInterface::getStatement() — Method in class AssetsPresetInterface
- Preset::getName() — Method in class Preset
- Preset::getData() — Method in class Preset
- Preset::getPackage() — Method in class Preset
- Preset::getStatements() — Method in class Preset
- Get the preset's statements array
- Preset::getStatement() — Method in class Preset
- Get one preset's statement entry
- Preset::getOrganizedStatements() — Method in class Preset
- Organize each statements item by position & requirements
- Preset::getOrderedStatements() — Method in class Preset
- Internal function to order a statements stack
- PresetAdapterInterface::getData() — Method in class PresetAdapterInterface
- Return the parsed and transformed statement array
- Css::getData() — Method in class Css
- Return the parsed and transformed statement array
- Javascript::getData() — Method in class Javascript
- Return the parsed and transformed statement array
- Requirement::getData() — Method in class Requirement
- Return the parsed and transformed statement array
H
- Loader::hasPackage() — Method in class Loader
- Test if a package exists
- Loader::hasPreset() — Method in class Loader
- Test if a preset exists
I
- Dispatch::isInstalled() — Method in class Dispatch
- {@inheritDoc}
- Dispatch::install() — Method in class Dispatch
- {@inheritDoc}
- AssetsInstaller::isInstalled() — Method in class AssetsInstaller
- {@inheritDoc}
- AssetsInstaller::install() — Method in class AssetsInstaller
- {@inheritDoc}
- AssetsInstaller::isPackageContains() — Method in class AssetsInstaller
- Check if a package seems to contain some
$type
files - Loader::init() — Method in class Loader
- Initializing a new loader populating all paths & packages
- Loader::isUrl() — Method in class Loader
- Test if a string is a classic url or an url like
//domain.ext/asset
J
- Javascript — Class in namespace AssetsManager\Package\PresetAdapter
L
- Config::load() — Method in class Config
- Load a config object
- Loader — Class in namespace AssetsManager
- Class to manage assets paths
- AssetsPackage::loadFromArray() — Method in class AssetsPackage
- Load a new package from the
ASSETS_DB_FILENAME
entry - AssetsPackageInterface::loadFromArray() — Method in class AssetsPackageInterface
- Load a new package from the
ASSETS_DB_FILENAME
entry - Preset::load() — Method in class Preset
- Automatic assets loading from an Assets package declare in a
composer.json
M
- Config::mustLoad() — Method in class Config
- Check if the configurator is not yet loaded
O
- AssetsManagerPlugin::onPreFileDownload() — Method in class AssetsManagerPlugin
- Pre file download event dispatcher
- AssetsManagerPlugin::onCommand() — Method in class AssetsManagerPlugin
- Command event dispatcher
- Config::overload() — Method in class Config
- Overload a config registry
P
- AssetsInstaller::parseComposerExtra() — Method in class AssetsInstaller
- Parse the
composer.json
"extra" block of a package and return its transformed data - AssetsInstallerInterface::parseComposerExtra() — Method in class AssetsInstallerInterface
- Parse the
composer.json
"extra" block of a package and return its transformed data - Preset — Class in namespace AssetsManager\Package
- Preset
- PresetAdapterInterface — Class in namespace AssetsManager\Package
- PresetAdapterInterface
- PresetAdapterInterface::parse() — Method in class PresetAdapterInterface
- Parse and transform the preset statement to a ready-to-use information
- Css::parse() — Method in class Css
- Parse and transform the preset statement to a ready-to-use information
- Javascript::parse() — Method in class Javascript
- Parse and transform the preset statement to a ready-to-use information
- Requirement::parse() — Method in class Requirement
R
- AbstractAssetsAutoloadGenerator::readJsonDatabase() — Method in class AbstractAssetsAutoloadGenerator
- Reads the assets database from JSON file
- AbstractAssetsAutoloadGenerator::registerPackage() — Method in class AbstractAssetsAutoloadGenerator
- Add a new installed package in the Assets database
- Dispatch::registerPackage() — Method in class Dispatch
- Add a new installed package in the Assets database
- AssetsPackage::reset() — Method in class AssetsPackage
- Reset the package to empty values (except for global package)
- Requirement — Class in namespace AssetsManager\Package\PresetAdapter
S
- AbstractAssetsAutoloadGenerator::setRegistry() — Method in class AbstractAssetsAutoloadGenerator
- Set the current assets database
- AbstractAssetsAutoloadGenerator::setGenerator() — Method in class AbstractAssetsAutoloadGenerator
- Set the generator called at object destruction
- Dispatch::supports() — Method in class Dispatch
- {@inheritDoc}
- Dispatch::setRegistry() — Method in class Dispatch
- Set the current assets database
- Dispatch::setGenerator() — Method in class Dispatch
- Set the generator called at object destruction
- AssetsInstaller::supports() — Method in class AssetsInstaller
- {@inheritDoc}
- Config::set() — Method in class Config
- Loader::setDocumentRoot() — Method in class Loader
- Set the document root directory
- Loader::setAssetsDb() — Method in class Loader
- Set the package's assets database
- AbstractAssetsPackage::setRootDirectory() — Method in class AbstractAssetsPackage
- Set the project root directory absolute path
- AbstractAssetsPackage::setAssetsDirectory() — Method in class AbstractAssetsPackage
- Set the project's assets directory, relative to
$this->_root_dir
- AbstractAssetsPackage::setVendorDirectory() — Method in class AbstractAssetsPackage
- Set the project's vendor directory, relative to
$this->_root_dir
- AbstractAssetsPackage::setAssetsVendorDirectory() — Method in class AbstractAssetsPackage
- Set the project's assets vendor directory, relative to
$this->_assets_dir
- AssetsPackage::setName() — Method in class AssetsPackage
- AssetsPackage::setVersion() — Method in class AssetsPackage
- AssetsPackage::setRelativePath() — Method in class AssetsPackage
- AssetsPackage::setAssetsPath() — Method in class AssetsPackage
- AssetsPackage::setAssetsPresets() — Method in class AssetsPackage
- Preset::setName() — Method in class Preset
- Preset::setData() — Method in class Preset
- Preset::setPackage() — Method in class Preset
T
- Error::thrower() — Method in class Error
U
- AbstractAssetsAutoloadGenerator::unregisterPackage() — Method in class AbstractAssetsAutoloadGenerator
- Remove an uninstalled package from the Assets database
- Dispatch::update() — Method in class Dispatch
- {@inheritDoc}
- Dispatch::uninstall() — Method in class Dispatch
- {@inheritDoc}
- Dispatch::unregisterPackage() — Method in class Dispatch
- Remove an uninstalled package from the Assets database
- AssetsInstaller::update() — Method in class AssetsInstaller
- {@inheritDoc}
- AssetsInstaller::uninstall() — Method in class AssetsInstaller
- {@inheritDoc}
V
- Dispatch::validateConfig() — Method in class Dispatch
- Validating the configuration class to use
- Dispatch::validateInstaller() — Method in class Dispatch
- Validating the installer class to use
- Dispatch::validateAutoloadGenerator() — Method in class Dispatch
- Validating the autoload generator class to use
- Loader::validatePresets() — Method in class Loader
- Load and validate all packages presets in one table
W
- AbstractAssetsAutoloadGenerator::writeJsonDatabase() — Method in class AbstractAssetsAutoloadGenerator
- Writes the assets database in a JSON file
_
- AbstractAssetsAutoloadGenerator::__destruct() — Method in class AbstractAssetsAutoloadGenerator
- Load the assets database file generation
- DumpAutoloadEventHandler::__construct() — Method in class DumpAutoloadEventHandler
- Dispatch::__construct() — Method in class Dispatch
- Initializes installer: creation of all required objects and validating them
- AssetsInstaller::__construct() — Method in class AssetsInstaller
- Initializes installer: creation of
assets-dir
directory if so - Loader::__construct() — Method in class Loader
- Loader protected constructor, use the class as a Singleton
- AbstractAssetsPackage::__construct() — Method in class AbstractAssetsPackage
- AssetsPackage::__construct() — Method in class AssetsPackage
- Construction
- AssetsPackage::__clone() — Method in class AssetsPackage
- Reset the package when clone
- AssetsPackageInterface::__construct() — Method in class AssetsPackageInterface
- AssetsPresetInterface::__construct() — Method in class AssetsPresetInterface
- AssetsPresetInterface::__toHtml() — Method in class AssetsPresetInterface
- Preset::__construct() — Method in class Preset
- Preset::__toHtml() — Method in class Preset
- PresetAdapterInterface::__construct() — Method in class PresetAdapterInterface
- PresetAdapterInterface::__toString() — Method in class PresetAdapterInterface
- Returns the transformed info of the preset statement
- PresetAdapterInterface::__toHtml() — Method in class PresetAdapterInterface
- Returns the transformed info of the preset statement as a ready-to-use HTML string
- Css::__construct() — Method in class Css
- Css::__toString() — Method in class Css
- Returns the src path of the preset statement
- Css::__toHtml() — Method in class Css
- Returns the full HTML
script
- Javascript::__construct() — Method in class Javascript
- Javascript::__toString() — Method in class Javascript
- Returns the src path of the preset statement
- Javascript::__toHtml() — Method in class Javascript
- Returns the full HTML
script
- Requirement::__construct() — Method in class Requirement
- Requirement::__toString() — Method in class Requirement
- Returns the src path of the preset statement
- Requirement::__toHtml() — Method in class Requirement
- Returns the full HTML
script