Noherczeg\Breadcrumb\Breadcrumb::setParam PHP Метод

setParam() приватный Метод

setParam: basic system method, don't bother.
private setParam ( mixed $to_this ) : String
$to_this mixed String or null
Результат String
    private function setParam($to_this)
    {
        if (!is_string($to_this) && !is_null($to_this)) {
            throw new InvalidArgumentException("Please provide a string as parameter!");
        } else {
            return $to_this;
        }
    }