/**
* Determine if the class already exists.
*
* @param string $rawName
* @return bool
*/
protected function alreadyExists($rawName)// variable is name
{
$name = $this->parseName($rawName);// parse name like parseInt
return $this->files->exists($this->getPath($name));// check the file has exists
}// Determine if the class already exists.
// check the instance of the class exists本文出自 “专注php” 博客,请务必保留此出处http://jingshanls.blog.51cto.com/3357095/1768097
每天laravel-20160725| Genaerator command-3
原文:http://jingshanls.blog.51cto.com/3357095/1768097