Viewing File: /home/maglabs/it/lib/internal/Magento/Framework/ObjectManager/RelationsInterface.php
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Framework\ObjectManager;
/**
* Interface \Magento\Framework\ObjectManager\RelationsInterface
*
* @api
*/
interface RelationsInterface
{
/**
* Check whether requested type is available for read
*
* @param string $type
* @return bool
*/
public function has($type);
/**
* Retrieve list of parents
*
* @param string $type
* @return array
*/
public function getParents($type);
}
Back to Directory
File Manager