Overview

Namespaces

  • momentphp
    • exceptions
    • interfaces
    • middlewares
    • providers
    • traits
  • None

Traits

  • ClassTrait
  • CollectionTrait
  • ContainerTrait
  • EventsDispatcherTrait
  • OptionsTrait
  • Overview
  • Namespace
  • Class

Trait ClassTrait

ClassTrait

Direct Known Users

momentphp\Bundle, momentphp\Controller, momentphp\Helper, momentphp\Middleware, momentphp\Model, momentphp\Provider

Indirect Known Users

momentphp\middlewares\AssetsMiddleware, momentphp\middlewares\NegotiationMiddleware, momentphp\providers\SmartyProvider, momentphp\providers\TwigProvider
Namespace: momentphp\traits
Located at traits/ClassTrait.php
Methods summary
public static string
# classNamespace( string $append = null )

Proxy call to class_namespace()

Proxy call to class_namespace()

Parameters

$append

Returns

string
public static string
# classPath( string $append = null )

Proxy call to class_path()

Proxy call to class_path()

Parameters

$append

Returns

string
public static string
# classPrefix( boolean $pluralize = false )

Proxy call to class_prefix()

Proxy call to class_prefix()

Parameters

$pluralize

Returns

string
public static string
# classSuffix( boolean $pluralize = false )

Proxy call to class_suffix()

Proxy call to class_suffix()

Parameters

$pluralize

Returns

string
public static string
# classPart( string $type, boolean $pluralize = false )

Proxy call to class_part()

Proxy call to class_part()

Parameters

$type
$pluralize

Returns

string
public static string
# classConfigKey( )

Proxy call to class_config_key()

Proxy call to class_config_key()

Returns

string
public static string
# classBasename( )

Proxy call to class_basename()

Proxy call to class_basename()

Returns

string
MomentPHP API documentation generated by ApiGen