1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework;
- /**
- * @api
- * @since 100.0.2
- */
- interface ObjectManagerInterface
- {
- /**
- * Create new object instance
- *
- * @param string $type
- * @param array $arguments
- * @return mixed
- */
- public function create($type, array $arguments = []);
- /**
- * Retrieve cached object instance
- *
- * @param string $type
- * @return mixed
- */
- public function get($type);
- /**
- * Configure object manager
- *
- * @param array $configuration
- * @return void
- */
- public function configure(array $configuration);
- }
|