Overview

Namespaces

  • Autarky
    • Config
      • Loaders
    • Console
    • Container
      • Exception
      • Factory
      • Proxy
    • Database
    • Errors
    • Events
    • Files
    • Http
    • Logging
    • Providers
    • Routing
      • Events
    • Testing
    • TwigTemplating
      • Extensions
    • Utils

Classes

  • AbstractArgument
  • ClassArgument
  • Definition
  • Factory
  • ScalarArgument

Interfaces

  • ArgumentInterface
  • FactoryInterface
  • Overview
  • Namespace
  • Class

Class ClassArgument

Factory argument that is class type-hinted.

Autarky\Container\Factory\AbstractArgument
Extended by Autarky\Container\Factory\ClassArgument implements Autarky\Container\Factory\ArgumentInterface
Namespace: Autarky\Container\Factory
Located at Factory/ClassArgument.php
Methods summary
public
# __construct( integer $position, string $name, string $class, boolean $required = true )

Constructor.

Constructor.

Parameters

$position
$name
$class
$required

Overrides

Autarky\Container\Factory\AbstractArgument::__construct()
public boolean
# isClass( )

Whether the argument is a class.

Whether the argument is a class.

Returns

boolean

Implementation of

Autarky\Container\Factory\ArgumentInterface::isClass()
public string
# getClass( )

Get the name of the class type of the argument.

Get the name of the class type of the argument.

Returns

string
Methods inherited from Autarky\Container\Factory\AbstractArgument
getName(), getPosition(), isOptional(), isRequired()
Properties summary
protected string $class
#
Properties inherited from Autarky\Container\Factory\AbstractArgument
$name, $position, $required
Autarky Framework API documentation generated by ApiGen