for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
namespace Maslosoft\Signals\Meta;
use Maslosoft\Addendum\Collections\Meta;
use Maslosoft\Addendum\Interfaces\AnnotatedInterface;
use Maslosoft\Addendum\Options\MetaOptions;
/**
* Signals metadata container class
* @author Piotr Maselkowski <pmaselkowski at gmail.com>
class SignalsMeta extends Meta
{
* Create instance of Metadata specifically designed for Manganel
* @param AnnotatedInterface $component
* @param MetaOptions $options
* @return static
public static function create(AnnotatedInterface $component, MetaOptions $options = null)
if (null === $options)
$options = new SignalsMetaOptions();
}
return parent::create($component, $options);
* Get field by name
* @param string $name
* @return DocumentPropertyMeta
public function field($name)
return parent::field($name);
* Get document type meta
* @return DocumentTypeMeta
public function type()
return parent::type();