public function changeLog($output = null, $metadata = null)
    {
        $output = $this->sanitizeOutputParameter($output);
        $metadata = $this->sanitizeMetadatas($metadata);

        $schema = $this->getSchemaFromMetadata($metadata);
        $liquibaseVisitor = new LiquibaseSchemaVisitor($output);
        $output->started($this->em);
        $schema->visit($liquibaseVisitor);
        $output->terminated();

        return $output->getResult();
    }
public function changeLog($output = null, $metadata = null)
    {
        $output = $this->sanitizeOutputParameter($output);
        $metadata = $this->sanitizeMetadatas($metadata);

        $schema = $this->getSchemaFromMetadata($metadata);
        $liquibaseVisitor = new LiquibaseSchemaVisitor($output);
        $output->started($this->em);
        $schema->visit($liquibaseVisitor);
        $output->terminated();

        return $output->getResult();
    }
public function changeLog ( $ output = null , $ metadata = null ) { $ output = $ this -> sanitizeOutputParameter ( $ output ) ; $ metadata = $ this -> sanitizeMetadatas ( $ metadata ) ; $ schema = $ this -> getSchemaFromMetadata ( $ metadata ) ; $ liquibaseVisitor = new LiquibaseSchemaVisitor ( $ output ) ; $ output -> started ( $ this -> em ) ; $ schema -> visit ( $ liquibaseVisitor ) ; $ output -> terminated ( ) ; return $ output -> getResult ( ) ; }
Generate a full changelog from doctrine metadata.

@param LiquibaseOutput|LiquibaseOutputOptions|null $output
@param array|null $metadata
@return \DOMDocument|mixed
@throws \Doctrine\ORM\ORMException
Generate a full changelog from doctrine metadata .