public function onBeforeGenerate(AbstractMetaSpec $spec, MetaSpecMatcher $matcher, Type $type) { if ($type->isFinal()) { throw new MetaException("Cannot create meta for final class '{$type->getName()}'."); } }
public function onBeforeGenerate(AbstractMetaSpec $spec, MetaSpecMatcher $matcher, Type $type) { if ($type->isFinal()) { throw new MetaException("Cannot create meta for final class '{$type->getName()}'."); } }