File: /var/www/vhost/disk-apps/magento.bikenow.co/setup/src/Magento/Setup/Module/Di/Code/Reader/Type.php
<?php
/**
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Setup\Module\Di\Code\Reader;
class Type
{
/**
* Whether instance is concrete implementation
*
* @param string $type
* @return bool
*/
public function isConcrete($type)
{
try {
$instance = new \ReflectionClass($type);
} catch (\ReflectionException $e) {
return false;
}
return !$instance->isAbstract() && !$instance->isInterface();
}
}