N98\Magento\Command\Developer\Code\Model\MethodCommand::checkClassFileName PHP Метод

checkClassFileName() защищенный Метод

protected checkClassFileName ( )
    protected function checkClassFileName()
    {
        $fileName = str_replace(' ', DIRECTORY_SEPARATOR, ucwords(str_replace('_', ' ', get_class($this->_mageModel)))) . '.php';
        $this->_fileName = $this->searchFullPath($fileName);
        if (false === $this->_fileName) {
            throw new InvalidArgumentException('File not found: ' . $this->_fileName);
        }
    }