namespaceSplit

Function namespaceSplit

Split the namespace from the classname.

Commonly used like list($namespace, $className) = namespaceSplit($class);.

Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Located at Core/functions.php
namespaceSplit( string $class )

Parameters summary

string $class The full class name, ie <