WordPress at a glance
function is not described


AutoloadProcessor::__construct() public WC 1.0

The constructor.

{} It's a method of the class: AutoloadProcessor{}

No Hooks.


null. Nothing.


$AutoloadProcessor = new AutoloadProcessor();
$AutoloadProcessor->__construct( $classmapScanner, $pathCodeTransformer );
$classmapScanner(callable) (required)
A callable for scanning a directory for all of its classes.
$pathCodeTransformer(callable) (required)
A callable for transforming a path into one to be used in code.

Code of AutoloadProcessor::__construct() WC 5.3.0

public function __construct( $classmapScanner, $pathCodeTransformer ) {
	$this->classmapScanner     = $classmapScanner;
	$this->pathCodeTransformer = $pathCodeTransformer;