ClassDiscovery::prependStrategy( string $strategy )

In this article

Prepend a strategy at the beginning of the strategy queue.

Parameters

$strategystringrequired
Fully qualified class name to a DiscoveryStrategy

Source

public static function prependStrategy($strategy)
{
    array_unshift(self::$strategies, $strategy);
    self::clearCache();
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.