Symfony is an excellent platform but i am unable to resolve its Path issue . in some cases i need to get full path of src folder i have tried every possible path generator or locator they all return either app/ directory path or web directory path as rootpath or basepath kindly someone help me if i am missing some thing e.g
$dst = dirname("Resources/public/pkpass/");
and
$dst = __DIR__.'/../../src'."/Resources/public/pkpass";
and
$this->get('kernel')->getRootDir()."/Resources/public/pkpass";
and
$this->getRequest()->getBasePath()."/Resources/public/pkpass"; etc
and for the record i am trying to get and use the path in rest api