You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello i wanted to ask you why don't you use AnnotationReader instead of SimpleAnnotationReader. If you will use AnnotationReader you can do this:
use Dingo\Blueprint\Annotation as BP;
use Dingo\Blueprint\Annotation\Method as BPM;
/**
* @BP\Resource("Test")
*/
class TestController extends Controller
{
/**
* Ask for new service
*
* @BPM\Get("/test")
* @BP\Versions({"v1"})
*/
public function test(){
}
}
And you can also remove this ugly code from your registerAnnotationLoader() function:
Hello i wanted to ask you why don't you use AnnotationReader instead of SimpleAnnotationReader. If you will use AnnotationReader you can do this:
And you can also remove this ugly code from your registerAnnotationLoader() function:
The text was updated successfully, but these errors were encountered: