[Config] made ResourceInterface extends Serializable
This commit is contained in:
parent
d7c24eb88a
commit
c9eaa72e2f
@ -16,7 +16,7 @@ namespace Symfony\Component\Config\Resource;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*/
|
||||
class DirectoryResource implements ResourceInterface, \Serializable
|
||||
class DirectoryResource implements ResourceInterface
|
||||
{
|
||||
private $resource;
|
||||
private $pattern;
|
||||
|
@ -18,7 +18,7 @@ namespace Symfony\Component\Config\Resource;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*/
|
||||
class FileResource implements ResourceInterface, \Serializable
|
||||
class FileResource implements ResourceInterface
|
||||
{
|
||||
private $resource;
|
||||
|
||||
|
@ -16,7 +16,7 @@ namespace Symfony\Component\Config\Resource;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*/
|
||||
interface ResourceInterface
|
||||
interface ResourceInterface extends \Serializable
|
||||
{
|
||||
/**
|
||||
* Returns a string representation of the Resource.
|
||||
|
Reference in New Issue
Block a user