AppThreat / chen

Code Hierarchy Exploration Net (chen)
https://appthreat.com
Apache License 2.0
14 stars 2 forks source link

[php] support for comments #52

Open prabhu opened 10 months ago

prabhu commented 10 months ago

Some old php apps define routes using annotations in comments.

use Symfony\Component\Routing\Annotation\Route;

class SomeController
{
    /**
     * @Route("/path", name="action")
     */
    public function someAction()
    {
        // ...
    }
}

https://symfony.com/blog/new-in-symfony-5-2-php-8-attributes