public function FileResource::__construct

Constructor.

Parameters

string $path The path to a file:

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Resource/FileResource.php, line 28

Class

FileResource
A resource is something formulae can be loaded from.

Namespace

Assetic\Factory\Resource

Code

public function __construct($path) {
  $this->path = $path;
}