public function getLocation($component_name, $path_within_component)
    {
        if ($this->complete_symfony_checkout) {
            $component_location = $this->vendor_directory . 'symfony/symfony/src';
        } else {
            $component_location = $this->vendor_directory . 'symfony/' . $component_name;
        }
        return $component_location . $path_within_component;
    }
public function getLocation($component_name, $path_within_component)
    {
        if ($this->complete_symfony_checkout) {
            $component_location = $this->vendor_directory . 'symfony/symfony/src';
        } else {
            $component_location = $this->vendor_directory . 'symfony/' . $component_name;
        }
        return $component_location . $path_within_component;
    }
public function getLocation ( $ component_name , $ path_within_component ) { if ( $ this -> complete_symfony_checkout ) { $ component_location = $ this -> vendor_directory . 'symfony/symfony/src' ; } else { $ component_location = $ this -> vendor_directory . 'symfony/' . $ component_name ; } return $ component_location . $ path_within_component ; }
This plugin is mostly useful if it's included without the symfony framework
But this makes sure it works if included with a full Symfony2 installation
@param string $component_name
@param string $path_within_component
@return string The actual location
This plugin is mostly useful if it s included without the symfony framework But this makes sure it works if included with a full Symfony2 installation