Page MenuHomeDevCentral

Allow to extract class name from a fully qualified class name expression
Open, Needs TriagePublic


Data provider for an unit test:

public function provideFullyQualifiedClassNames () : iterable {
    // Example from PSR-4 canonical document
    // Fully qualified class name, class
    yield ['\Acme\Log\Writer\File_Writer', 'File_Writer'];
    yield ['\Aura\Web\Response\Status', 'Status'];
    yield ['\Symfony\Core\Request', 'Request'];

    yield ['Foo', 'Foo'];
    yield ['', ''];
    yield ["Foo\\", ''];


Event Timeline

dereckson created this task.Apr 20 2018, 12:37
dereckson updated the task description. (Show Details)
dereckson moved this task from Backlog to Feature requests on the Keruald board.Feb 16 2020, 04:22