Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 32 lines (26 sloc) 736 Bytes
<?php
namespace MattRWallace\Exegesis;
/**
* AnnotationObject
*
* @package Exegesis
* @version 0.7 (Beta 2)
* @copyright Copyright (c) 2012 Matt Wallace All rights reserved.
* @author Matt Wallace <matthew.wallace@ieee.org>
* @license http://www.opensource.org/licenses/mit-license.html MIT Public License.
*/
class AnnotationObject extends AnnotationClass {
use Annotation;
/**
* Constructor
*
* @param mixed $object An object instance
* @access public
* @return void
*/
public function __construct($object) {
parent::__construct($object);
$parser = new AnnotationParser($this->getDocComment());
$this->annotations = $parser->getAnnotationArray();
}
}