/**
* Determine if the given abstract type has been bound.
*
* @param string $abstract
* @return bool
*/
public function bound($abstract)
{
$abstract = $this->normalize($abstract);// the function is to delete the \ on the left if has
return isset($this->bindings[$abstract]) || isset($this->instances[$abstract]) || $this->isAlias($abstract);
}// Determine if the given abstract type has been bound.
// sorry today is a lazy day.本文出自 “专注php” 博客,请务必保留此出处http://jingshanls.blog.51cto.com/3357095/1770009
每天laravel-20160730| Container -2
原文:http://jingshanls.blog.51cto.com/3357095/1770009