/** * Returns the array of lengths required for the attributes. * * @return array */ public static function attributeLengths() { return ['title' => Project::minMaxHelper(2, 32), 'description' => Project::minMaxHelper(10, 75), 'project-body' => Project::minMaxHelper(100, 65535)]; }