mirror of
https://github.com/Intervention/image.git
synced 2025-08-26 23:35:12 +02:00
Merge pull request #837 from umutuluer/patch-1
Update AbstractDriver.php
This commit is contained in:
@@ -102,6 +102,8 @@ abstract class AbstractDriver
|
|||||||
*/
|
*/
|
||||||
private function getCommandClassName($name)
|
private function getCommandClassName($name)
|
||||||
{
|
{
|
||||||
|
$name = mb_convert_case($name[0], MB_CASE_UPPER, 'utf-8') . mb_substr($name, 1, mb_strlen($name));
|
||||||
|
|
||||||
$drivername = $this->getDriverName();
|
$drivername = $this->getDriverName();
|
||||||
$classnameLocal = sprintf('\Intervention\Image\%s\Commands\%sCommand', $drivername, ucfirst($name));
|
$classnameLocal = sprintf('\Intervention\Image\%s\Commands\%sCommand', $drivername, ucfirst($name));
|
||||||
$classnameGlobal = sprintf('\Intervention\Image\Commands\%sCommand', ucfirst($name));
|
$classnameGlobal = sprintf('\Intervention\Image\Commands\%sCommand', ucfirst($name));
|
||||||
|
Reference in New Issue
Block a user