ClassDiscovery::setStrategies( string[] $strategies )

In this article

Set new strategies and clear the cache.

Parameters

$strategiesstring[]required
list of fully qualified class names that implement DiscoveryStrategy

Source

public static function setStrategies(array $strategies)
{
    self::$strategies = $strategies;
    self::clearCache();
}

User Contributed Notes

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