PHP Class Redaxscript\Detector\DetectorAbstract

Since: 2.0.0
Author: Henry Ruhs
Show file Open project: redaxmedia/redaxscript

Protected Properties

Property Type Description
$_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

Public Methods

Method Description
__construct ( Registry $registry, Request $request ) constructor of the class
getOutput ( ) : string get the output

Protected Methods

Method Description
_detect ( array $setupArray = [], string $type = null, string $path = null ) detect the required asset

Method Details

__construct() public method

constructor of the class
Since: 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() protected method

detect the required asset
Since: 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() public method

get the output
Since: 2.0.0
public getOutput ( ) : string
return string

Property Details

$_filePlaceholder protected property

placeholder for the file
protected string $_filePlaceholder
return string

$_output protected property

output of the detector
protected string $_output
return string

$_registry protected property

instance of the registry class
protected object $_registry
return object

$_request protected property

instance of the request class
protected object $_request
return object