public static function fromYamlFile($entity)
    {
        $path = config_path('panel/'.strtolower(str_singular($entity)).'.yml');

        if (file_exists($path)) {
            $entity = new self($path);

            return $entity;
        } else {
            return false;
        }
    }