Cms\Components\Resources

Overview

Resources component

Extends
Implements
  • October\Contracts\Twig\CallsAnyMethod
  • Stringable

Public Properties

public string $jsDir

jsDir for JavaScript files.

public string $cssDir

cssDir for CSS files.

public string $lessDir

lessDir for LESS files.

public string $scssDir

scssDir for SCSS files.

Show inherited public properties

Inherited Public Properties

Protected Properties

There are no protected properties in the class.

Show inherited protected properties

Inherited Protected Properties


Public Methods

public componentDetails()

public componentDetails(): array 

public defineProperties()

public defineProperties(): array 

public init()

public init(): void

public onRun()

public onRun(): void

Show inherited public methods

Inherited Public Methods

Protected Methods

protected guessAssetDirectory()

protected guessAssetDirectory($possible, $default = null): void

guessAssetDirectory determines an inner asset directory, eg: scss or sass

protected prefixCss()

protected prefixCss($value): void

protected prefixJs()

protected prefixJs($value): void

protected prefixLess()

protected prefixLess($value): void

protected prefixScss()

protected prefixScss($value): void

Show inherited protected methods

Inherited Protected Methods