October\Rain\Filesystem\Definitions

Overview

Definitions contains file extensions for common use cases


Public Methods

public static get()

public static get($type): array 

get efinitions is an entry point to request a definition set

public getDefinitions()

public getDefinitions($type): array 

getDefinitions returns a definition set from config or from the default sets.

public static isPathIgnored()

public static isPathIgnored(string $path): boolean 

isPathIgnored determines if a path should be ignored

Protected Methods

protected assetExtensions()

protected assetExtensions(): void

assetExtensions seen as public assets. This list can be customized with config:

  • media.asset_extensions

protected audioExtensions()

protected audioExtensions(): void

audioExtensions typically used as audio files. This list can be customized with config:

  • media.audio_extensions

protected defaultExtensions()

protected defaultExtensions(): void

defaultExtensions that are particularly benign. This list can be customized with config:

  • media.default_extensions

protected ignoreFiles()

protected ignoreFiles(): void

ignoreFiles that can be safely ignored. This list can be customized with config:

  • media.ignore_files

protected ignorePatterns()

protected ignorePatterns(): void

ignorePatterns that can be safely ignored. This list can be customized with config:

  • media.ignore_patterns

protected imageExtensions()

protected imageExtensions(): void

imageExtensions typically used as images. This list can be customized with config:

  • media.image_extensions

protected videoExtensions()

protected videoExtensions(): void

videoExtensions typically used as video files. This list can be customized with config:

  • media.video_extensions