Back to WebAssetManager class

Method getManagerState

public array
getManagerState
()
Get the manager state. A collection of registry files and active asset names (per type).
Returns
  • array
Since
  • 4.0.0

Method getManagerState - Source code

/**
 * Get the manager state. A collection of registry files and active asset names (per type).
 *
 * @return array
 *
 * @since  4.0.0
 */
public function getManagerState() : array
{
    return ['registryFiles' => $this->getRegistry()->getRegistryFiles(), 'activeAssets' => $this->activeAssets];
}