PHP Класс Redaxscript\Detector\DetectorAbstract

С версии: 2.0.0
Автор: Henry Ruhs
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_filePlaceholder string placeholder for the file
$_output string output of the detector
$_registry object instance of the registry class
$_request object instance of the request class

Открытые методы

Метод Описание
__construct ( Registry $registry, Request $request ) constructor of the class
getOutput ( ) : string get the output

Защищенные методы

Метод Описание
_detect ( array $setupArray = [], string $type = null, string $path = null ) detect the required asset

Описание методов

__construct() публичный Метод

constructor of the class
С версии: 2.0.0
public __construct ( Registry $registry, Request $request )
$registry Redaxscript\Registry instance of the registry class
$request Redaxscript\Request instance of the request class

_detect() защищенный Метод

detect the required asset
С версии: 2.0.0
protected _detect ( array $setupArray = [], string $type = null, string $path = null )
$setupArray array array of detector setup
$type string type of the asset
$path string path to the required file

getOutput() публичный Метод

get the output
С версии: 2.0.0
public getOutput ( ) : string
Результат string

Описание свойств

$_filePlaceholder защищенное свойство

placeholder for the file
protected string $_filePlaceholder
Результат string

$_output защищенное свойство

output of the detector
protected string $_output
Результат string

$_registry защищенное свойство

instance of the registry class
protected object $_registry
Результат object

$_request защищенное свойство

instance of the request class
protected object $_request
Результат object