Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.52 KB

File metadata and controls

49 lines (28 loc) · 1.52 KB
layout doc
title Autoload - Codeception - Documentation

Codeception\Util\Autoload

Autoloader, which is fully compatible with PSR-4, and can be used to autoload your Helper, Page, and Step classes.

addNamespace()

public static addNamespace($prefix, $baseDir, $prepend = false)

Adds a base directory for a namespace prefix.

Example:

{% highlight php %}

 

Reference is taken from the source code. Help us to improve documentation. Edit module reference