Stump Assets
  • Namespace
  • Class
  • Tree
  • Todo
  • Download

Namespaces

  • Skimia
    • Assets
      • Console
        • Commands
      • Events
      • Providers
      • Scanner

Classes

  • AssetsServiceProvider
  • Manager

Class Manager

Stolz\Assets\Manager
Extended by Skimia\Assets\Manager
Namespace: Skimia\Assets
Located at Manager.php

Methods summary

public Skimia\Assets\Manager
# config( array $config )

Set up configuration options.

Set up configuration options.

All the class properties except 'js' and 'css' are accepted here. Also, an extra option 'autoload' may be passed containing an array of assets and/or collections that will be automatically added on startup.

Parameters

$config
Configurable options.

Returns

Skimia\Assets\Manager
protected boolean|array
# assetIsFromCollection( string $asset )

Determine whether an asset is normal or from an asset collection.

Determine whether an asset is normal or from an asset collection.

Parameters

$asset

Returns

boolean|array
protected string
# buildLocalLink( string $asset, string $dir )

Build link to local asset.

Build link to local asset.

Detects packages links.

Parameters

$asset
$dir

Returns

string
the link
public
# getCollections( )

Properties summary

protected string $collections_dir
# 'collections'
Stump Assets API documentation generated by ApiGen