PHP Interface Jarves\ORM\Builder\BuildInterface

Datei anzeigen Open project: jarves/jarves

Public Methods

Method Description
build ( array $objects, Symfony\Component\Console\Output\OutputInterface $output ) Does anything what is needed to get the ORM\* adapter working with this ORM adapter.
needsBuild ( ) : boolean Returns true when a build is needed. This is fired on each JarvesBundle boot, so do nothing big here.

Method Details

build() public method

Check on each $objects entry if it's your data model (e.g $objects[0]->getDataModel == 'propel')
public build ( array $objects, Symfony\Component\Console\Output\OutputInterface $output )
$objects array
$output Symfony\Component\Console\Output\OutputInterface

needsBuild() public method

Returns true when a build is needed. This is fired on each JarvesBundle boot, so do nothing big here.
public needsBuild ( ) : boolean
return boolean