3ev Core Wordpress library API
  • Namespace
  • Class

Namespaces

  • Tev
    • Application
      • Bootstrap
    • Author
      • Model
    • Contracts
    • Database
      • CustomTables
    • Field
      • Model
      • Util
    • Plugin
      • Action
      • Shortcode
    • Post
      • Model
      • Repository
    • Taxonomy
      • Model
      • Repository
    • Term
      • Model
      • Repository
    • Util
    • View
      • Exception
  • None

Classes

  • Application

Class Application

Tev plugin application.

Service locator for all application services.

Namespace: Tev\Application
Located at Tev/Application/Application.php

Methods summary

public static Tev\Application\Application
# getInstance( )

Get the singleton application instance.

Get the singleton application instance.

Returns

Tev\Application\Application
public Tev\Application\Application
# bind( string $name, Closure $bind )

Bind a service into the container.

Bind a service into the container.

Parameters

$name
Service name
$bind
Service location closure. Receives \Tev\Application\Application as argument

Returns

Tev\Application\Application
This, for chaining
public mixed
# fetch( string $name )

Fetch a service from the container.

Fetch a service from the container.

Parameters

$name
Service name

Returns

mixed
Bound service
protected Tev\Application\Application
# bootstrap( )

Bootstrap default services into the container.

Bootstrap default services into the container.

Returns

Tev\Application\Application
This, for chaining

Properties summary

protected array $bootstraps

Array of default services to bootstrap.

Array of default services to bootstrap.

# array( 'Tev\Application\Bootstrap\PluginLoader', 'Tev\Application\Bootstrap\AuthorFactory', 'Tev\Application\Bootstrap\Term', 'Tev\Application\Bootstrap\Taxonomy', 'Tev\Application\Bootstrap\FieldFactory', 'Tev\Application\Bootstrap\Post', 'Tev\Application\Bootstrap\Util' )
3ev Core Wordpress library API API documentation generated by ApiGen