PHP Class Jarves\ORM\Builder\Builder

Afficher le fichier Open project: jarves/jarves

Protected Properties

Свойство Type Description
$builder Jarves\ORM\Builder\BuildInterface[]
$jarves Jarves\Jarves
$objects Jarves\Configuration\Object[]

Méthodes publiques

Méthode Description
__construct ( Jarves $jarves )
addBuilder ( string $id, Jarves\ORM\Builder\BuildInterface $builder )
addObject ( Object $objectDefinition )
boot ( ) Checks if at least one orm builder needs a build and triggers the build then.
bootBuildTime ( ) Loads all objects and
build ( Symfony\Component\Console\Output\OutputInterface $output = null ) : string Calls build on each builder.
getBuilder ( string $id ) : Jarves\ORM\Builder\BuildInterface
getJarves ( ) : Jarves
getObject ( string $objectKey ) : Object
hasObject ( string $objectKey ) : boolean
needsBuild ( ) : boolean Returns whether at least one orm builder needs a build.
setJarves ( Jarves $jarves )

Method Details

__construct() public méthode

public __construct ( Jarves $jarves )
$jarves Jarves\Jarves

addBuilder() public méthode

public addBuilder ( string $id, Jarves\ORM\Builder\BuildInterface $builder )
$id string
$builder Jarves\ORM\Builder\BuildInterface

addObject() public méthode

public addObject ( Object $objectDefinition )
$objectDefinition Jarves\Configuration\Object

boot() public méthode

Checks if at least one orm builder needs a build and triggers the build then.
public boot ( )

bootBuildTime() public méthode

Loads all objects and
public bootBuildTime ( )

build() public méthode

Calls build on each builder.
public build ( Symfony\Component\Console\Output\OutputInterface $output = null ) : string
$output Symfony\Component\Console\Output\OutputInterface
Résultat string

getBuilder() public méthode

public getBuilder ( string $id ) : Jarves\ORM\Builder\BuildInterface
$id string
Résultat Jarves\ORM\Builder\BuildInterface

getJarves() public méthode

public getJarves ( ) : Jarves
Résultat Jarves\Jarves

getObject() public méthode

public getObject ( string $objectKey ) : Object
$objectKey string
Résultat Jarves\Configuration\Object

hasObject() public méthode

public hasObject ( string $objectKey ) : boolean
$objectKey string
Résultat boolean

needsBuild() public méthode

Returns whether at least one orm builder needs a build.
public needsBuild ( ) : boolean
Résultat boolean

setJarves() public méthode

public setJarves ( Jarves $jarves )
$jarves Jarves\Jarves

Property Details

$builder protected_oe property

protected BuildInterface[],Jarves\ORM\Builder $builder
Résultat Jarves\ORM\Builder\BuildInterface[]

$jarves protected_oe property

protected Jarves,Jarves $jarves
Résultat Jarves\Jarves

$objects protected_oe property

protected Object[],Jarves\Configuration $objects
Résultat Jarves\Configuration\Object[]