Annotation.php
public static function readClass( $class , $annotation = null ) {

		$ref = $class instanceof ReflectionClass ? $class : new ReflectionClass( $class );

		return $annotation ? static::reader()->getClassAnnotation( $ref , $annotation ) : static::reader()->getClassAnnotations( $ref );

	}
public static function readClass( $class , $annotation = null ) {

		$ref = $class instanceof ReflectionClass ? $class : new ReflectionClass( $class );

		return $annotation ? static::reader()->getClassAnnotation( $ref , $annotation ) : static::reader()->getClassAnnotations( $ref );

	}
public static function readClass ( $ class , $ annotation = null ) { $ ref = $ class instanceof ReflectionClass ? $ class : new ReflectionClass ( $ class ) ; return $ annotation ? static :: reader ( ) -> getClassAnnotation ( $ ref , $ annotation ) : static :: reader ( ) -> getClassAnnotations ( $ ref ) ; }
Retreive class annotations
@param string $class Class
@param string $annotation Specified annotation name
@return mixed
Retreive class annotations