PHP Class WellCommerce\Bundle\ApiBundle\Command\GenerateSerializationMetadataCommand

Author: Adam Piotrowski ([email protected])
Inheritance: extends Symfony\Component\Console\Command\Command
ファイルを表示 Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$doctrineHelper WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface
$filesystem Symfony\Component\Filesystem\Filesystem
$hiddenFields

Public Methods

Method Description
__construct ( WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $doctrineHelper ) GenerateMetadataCommand constructor.

Protected Methods

Method Description
configure ( )
dumpSerializationFile ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata, Symfony\Component\Console\Output\OutputInterface $output, $force = false )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Executes the actions
prepareMetadataAssociations ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata )
prepareMetadataFields ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata )
resolvePath ( ReflectionClass $reflectionClass )

Method Details

__construct() public method

GenerateMetadataCommand constructor.
public __construct ( WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $doctrineHelper )
$doctrineHelper WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface

configure() protected method

protected configure ( )

dumpSerializationFile() protected method

protected dumpSerializationFile ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata, Symfony\Component\Console\Output\OutputInterface $output, $force = false )
$metadata Doctrine\Common\Persistence\Mapping\ClassMetadata
$output Symfony\Component\Console\Output\OutputInterface

execute() protected method

Executes the actions
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

prepareMetadataAssociations() protected method

protected prepareMetadataAssociations ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata )
$metadata Doctrine\Common\Persistence\Mapping\ClassMetadata

prepareMetadataFields() protected method

protected prepareMetadataFields ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata )
$metadata Doctrine\Common\Persistence\Mapping\ClassMetadata

resolvePath() protected method

protected resolvePath ( ReflectionClass $reflectionClass )
$reflectionClass ReflectionClass

Property Details

$doctrineHelper protected_oe property

protected DoctrineHelperInterface,WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine $doctrineHelper
return WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface

$filesystem protected_oe property

protected Filesystem,Symfony\Component\Filesystem $filesystem
return Symfony\Component\Filesystem\Filesystem

$hiddenFields protected_oe property

protected $hiddenFields