Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Drupal\Core\Entity\Routing; use Drupal\Core\Entity\EntityTypeInterface; ..
Decoded Output download
<?php
namespace Drupal\Core\Entity\Routing;
use Drupal\Core\Entity\EntityTypeInterface;
/**
* Allows entity types to provide routes.
*/
interface EntityRouteProviderInterface {
/**
* Provides routes for entities.
*
* @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
* The entity type
*
* @return \Symfony\Component\Routing\RouteCollection|\Symfony\Component\Routing\Route[]
* Returns a route collection or an array of routes keyed by name, like
* route_callbacks inside 'routing.yml' files.
*/
public function getRoutes(EntityTypeInterface $entity_type);
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\Core\Entity\Routing;
use Drupal\Core\Entity\EntityTypeInterface;
/**
* Allows entity types to provide routes.
*/
interface EntityRouteProviderInterface {
/**
* Provides routes for entities.
*
* @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
* The entity type
*
* @return \Symfony\Component\Routing\RouteCollection|\Symfony\Component\Routing\Route[]
* Returns a route collection or an array of routes keyed by name, like
* route_callbacks inside 'routing.yml' files.
*/
public function getRoutes(EntityTypeInterface $entity_type);
}
Function Calls
None |
Stats
MD5 | 4b45987e0103db8eacef97dee566d41f |
Eval Count | 0 |
Decode Time | 79 ms |