4 * This file is part of the Symfony CMF package.
6 * (c) 2011-2015 Symfony CMF
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Cmf\Component\Routing;
14 use Symfony\Component\Routing\Route;
17 * Interface to be implemented by content that wants to be support route generation
18 * from content with the DynamicRouter by providing the routes that point to it.
20 interface RouteReferrersReadInterface
23 * Get the routes that point to this content.
25 * @return Route[] Route instances that point to this content
27 public function getRoutes();