for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Vox\Metadata;
use Metadata\MergeableClassMetadata;
/**
* Holds all metadata for a single class
*
* @author Jhonatan Teixeira <[email protected]>
*/
class ClassMetadata extends MergeableClassMetadata
{
use AnnotationsTrait;
public function serialize()
return serialize(array(
$this->name,
$this->methodMetadata,
$this->propertyMetadata,
$this->fileResources,
$this->createdAt,
$this->annotations,
));
}
public function unserialize($str)
list(
$this->annotations
) = unserialize($str);
$this->reflection = new \ReflectionClass($this->name);