gii\Generator validateNewClass()

validateNewClass() public method

An inline validator that checks if the attribute value refers to a valid namespaced class name.

The validator will check if the directory containing the new class file exist or not.

public void validateNewClass ( $attribute, $params )
$attribute string

The attribute being validated

$params array

The validation options

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.