RouteInstaller.php
public function getInstallPath(PackageInterface $package)
	{
		$prefix = substr($package->getPrettyName(), 0, 14);
		if ('kehikko/route-' !== $prefix)
		{
			throw new \InvalidArgumentException(
				'Unable to install template, kehikko routes should always start their package name with '
				. '"kehikko/route/"'
			);
		}

		return 'routes/' . substr($package->getPrettyName(), 14);
	}
public function getInstallPath(PackageInterface $package)
	{
		$prefix = substr($package->getPrettyName(), 0, 14);
		if ('kehikko/route-' !== $prefix)
		{
			throw new \InvalidArgumentException(
				'Unable to install template, kehikko routes should always start their package name with '
				. '"kehikko/route/"'
			);
		}

		return 'routes/' . substr($package->getPrettyName(), 14);
	}
public function getInstallPath ( PackageInterface $ package ) { $ prefix = substr ( $ package -> getPrettyName ( ) , 0 , 14 ) ; if ( 'kehikko/route-' !== $ prefix ) { throw new \ InvalidArgumentException ( 'Unable to install template, kehikko routes should always start their package name with ' . '"kehikko/route/"' ) ; } return 'routes/' . substr ( $ package -> getPrettyName ( ) , 14 ) ; }
{@inheritDoc}
{