Overview

Namespaces

  • Coast
    • App
      • Access
      • Executable
    • Controller
    • Csrf
    • Dir
    • Feed
    • File
    • Filter
      • Rule
    • Http
    • Image
    • Model
      • Exception
    • Resolver
    • Router
    • Sitemap
    • Transformer
      • Rule
    • Validator
      • Rule
    • View

Classes

  • ArrayType
  • BooleanType
  • Count
  • Custom
  • DateTime
  • DecimalType
  • EmailAddress
  • Equals
  • File
  • FloatType
  • Func
  • Hostname
  • In
  • IntegerType
  • IpAddress
  • Length
  • Max
  • Min
  • Not
  • NumberType
  • ObjectType
  • Password
  • Range
  • Recaptcha
  • Regex
  • Set
  • StringType
  • Upload
  • Url
  • Overview
  • Namespace
  • Class
  • Deprecated
  • Todo

Class File

Coast\Validator\Rule implements JsonSerializable
Extended by Coast\Validator\Rule\File
Namespace: Coast\Validator\Rule
Located at Validator/Rule/File.php
Methods summary
public
# __construct( $size = null, array $types = null, $readable = null, $writable = null )

Overrides

Coast\Validator\Rule::__construct()
public
# size( $size = null )
public
# types( $types = null )
public
# readable( $readable = null )
public
# writable( $writable = null )
protected
# _validate( $value )
Methods inherited from Coast\Validator\Rule
__invoke(), error(), errors(), isValid(), jsonSerialize(), name(), params(), validate()
Constants summary
string VALID
# 'valid'
string EXISTS
# 'exists'
string SIZE
# 'size'
string TYPE
# 'type'
string READABLE
# 'readable'
string WRITABLE
# 'writable'
Properties summary
protected $_size
# null
protected $_types
# null
protected $_readable
# null
protected $_writable
# null
Properties inherited from Coast\Validator\Rule
$_errors, $_name
Coast API Documentation API documentation generated by ApiGen