PHP Class Bolt\Asset\BoltVersionStrategy

Author: Carson Full ([email protected])
Inheritance: implements Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface
Show file Open project: bolt/bolt

Protected Properties

Property Type Description
$baseSalt string
$directory Bolt\Filesystem\Handler\DirectoryInterface

Public Methods

Method Description
__construct ( Bolt\Filesystem\Handler\DirectoryInterface $directory, string $baseSalt ) Constructor.
applyVersion ( $path )
getVersion ( $path )

Method Details

__construct() public method

Constructor.
public __construct ( Bolt\Filesystem\Handler\DirectoryInterface $directory, string $baseSalt )
$directory Bolt\Filesystem\Handler\DirectoryInterface
$baseSalt string

applyVersion() public method

public applyVersion ( $path )

getVersion() public method

public getVersion ( $path )

Property Details

$baseSalt protected property

protected string $baseSalt
return string

$directory protected property

protected DirectoryInterface,Bolt\Filesystem\Handler $directory
return Bolt\Filesystem\Handler\DirectoryInterface