/usr/share/php/Horde/Injector/Scope.php is in php-horde-injector 2.0.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <?php
/**
* Interface for injector scopes
*
* Injectors implement a Chain of Responsibility pattern. This is the
* required interface for injectors to pass on responsibility to parent
* objects in the chain.
*
* @category Horde
* @package Injector
*/
interface Horde_Injector_Scope
{
/**
* Returns the Horde_Injector_Binder object mapped to the request
* interface if such a
* mapping exists
*
* @param string $interface Interface name of object whose binding if
* being retrieved.
*
* @return Horde_Injector_Binder|null
*/
public function getBinder($interface);
/**
* Returns instance of requested object if proper configuration has been
* provided.
*
* @param string $interface Interface name of object which is being
* requested.
*
* @return Object
*/
public function getInstance($interface);
}
|