public static function className($class)
    {
        $result = App::className($class, 'Model/Behavior', 'Behavior');
        if (!$result) {
            $result = App::className($class, 'ORM/Behavior', 'Behavior');
        }

        return $result ?: null;
    }
public static function className($class)
    {
        $result = App::className($class, 'Model/Behavior', 'Behavior');
        if (!$result) {
            $result = App::className($class, 'ORM/Behavior', 'Behavior');
        }

        return $result ?: null;
    }
public static function className ( $ class ) { $ result = App :: className ( $ class , 'Model/Behavior' , 'Behavior' ) ; if ( ! $ result ) { $ result = App :: className ( $ class , 'ORM/Behavior' , 'Behavior' ) ; } return $ result ? : null ; }
Resolve a behavior classname.

@param string $class Partial classname to resolve.
@return string|null Either the correct classname or null.
@since 3.5.7
Resolve a behavior classname .