HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /var/www/html/punjabcabs/vendor/hesto/multi-auth/src/Commands/Traits/ParsesServiceInput.php
<?php

namespace Hesto\MultiAuth\Commands\Traits;

trait ParsesServiceInput
{
    /**
     * Get and parse the service argument.
     *
     * @return mixed|string
     */
    protected function getParsedServiceInput()
    {
        return mb_strtolower(str_singular($this->getServiceInput()));
    }

    /**
     * Get the name of the lucid service passed as argument.
     *
     * @return string
     */
    protected function getServiceInput()
    {
        return trim($this->argument('service'));
    }
}