Skimia\Foundation
  • Namespace
  • Class
  • Tree
  • Todo
  • Download

Namespaces

  • None
  • PHP
  • Skimia
    • Foundation
      • Annotations
      • Exceptions
        • Fail
      • Providers
        • Traits
      • Support
        • Traits
      • Testing
        • Traits

Traits

  • NamespaceClassFinderTrait

Trait NamespaceClassFinderTrait

Skimia\Foundation\Support\Traits\NamespaceClassFinderTrait uses Illuminate\Console\AppNamespaceDetectorTrait (not available)

Direct Known Users

Skimia\Foundation\Annotations\BaseServiceProvider

Namespace: Skimia\Foundation\Support\Traits
Codecoverageignore
Located at Support/Traits/NamespaceClassFinderTrait.php

Methods summary

public string
# convertNamespaceToPath( string $namespace )

Convert the given namespace to a file path.

Convert the given namespace to a file path.

Parameters

$namespace
the namespace to convert

Returns

string
public array
# getClassesFromNamespace( string $namespace, null $base = null )

Get a list of the classes in a namespace. Leaving the second argument will scan for classes within the project's app directory.

Get a list of the classes in a namespace. Leaving the second argument will scan for classes within the project's app directory.

Parameters

$namespace
the namespace to search
$base

Returns

array
protected array
# getAllClasses( )

Get a list of classes in the root namespace.

Get a list of classes in the root namespace.

Returns

array
Skimia\Foundation API documentation generated by ApiGen