I have this class
<?php
namespace Lorem\Ipsum\Do\Sor
use \Some\NameSpace\OfClass\SimpleClass;
class SimpleSecondClass {
/**
*
* @return SimpleClass
*/
public function someMethod(){
return new SimpleClass();
}
}
And i want get @return annotation from someMethod method with full namespace ( \Some\NameSpace\OfClass\SimpleClass ), without reading file cointains this class. How can i do it?
Aucun commentaire:
Enregistrer un commentaire