W3cubDocs

/Drupal 8

interface ClassResolverInterface

Provides an interface to get a instance of a class with dependency injection.

Hierarchy

File

core/lib/Drupal/Core/DependencyInjection/ClassResolverInterface.php, line 8

Namespace

Drupal\Core\DependencyInjection

Members

Name Modifiers Type Description
ClassResolverInterface::getInstanceFromDefinition public function Returns a class instance with a given class definition.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!DependencyInjection!ClassResolverInterface.php/interface/ClassResolverInterface/8.1.x