NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class SplFileInfo

PHP Extension: SPL
Documented at php.net

## Methods summary

- `public` `__construct ( mixed $file_name )`
- `public` `getPath ( )`
- `public` `getFilename ( )`
- `public` `getExtension ( )`
- `public` `getBasename ( mixed $suffix )`
- `public` `getPathname ( )`
- `public` `getPerms ( )`
- `public` `getInode ( )`
- `public` `getSize ( )`
- `public` `getOwner ( )`
- `public` `getGroup ( )`
- `public` `getATime ( )`
- `public` `getMTime ( )`
- `public` `getCTime ( )`
- `public` `getType ( )`
- `public` `isWritable ( )`
- `public` `isReadable ( )`
- `public` `isExecutable ( )`
- `public` `isFile ( )`
- `public` `isDir ( )`
- `public` `isLink ( )`
- `public` `getLinkTarget ( )`
- `public` `getRealPath ( )`
- `public` `getFileInfo ( mixed $class_name )`
- `public` `getPathInfo ( mixed $class_name )`
- `public` `openFile ( mixed $open_mode, mixed $use_include_path, mixed $context )`
- `public` `setFileClass ( mixed $class_name )`
- `public` `setInfoClass ( mixed $class_name )`
- `final public` `_bad_state_ex ( )`
- `public` `__toString ( )`

## Methods detail

# `public`
`__construct( mixed $file_name )`
# `public`
`getPath( )`
# `public`
`getFilename( )`
# `public`
`getExtension( )`
# `public`
`getBasename( mixed $suffix )`
# `public`
`getPathname( )`
# `public`
`getPerms( )`
# `public`
`getInode( )`
# `public`
`getSize( )`
# `public`
`getOwner( )`
# `public`
`getGroup( )`
# `public`
`getATime( )`
# `public`
`getMTime( )`
# `public`
`getCTime( )`
# `public`
`getType( )`
# `public`
`isWritable( )`
# `public`
`isReadable( )`
# `public`
`isExecutable( )`
# `public`
`isFile( )`
# `public`
`isDir( )`
# `public`
`isLink( )`
# `public`
`getLinkTarget( )`
# `public`
`getRealPath( )`
# `public`
`getFileInfo( mixed $class_name )`
# `public`
`getPathInfo( mixed $class_name )`
# `public`
`openFile( mixed $open_mode, mixed $use_include_path, mixed $context )`
# `public`
`setFileClass( mixed $class_name )`
# `public`
`setInfoClass( mixed $class_name )`
# `final public`
`_bad_state_ex( )`
# `public`
`__toString( )`

### Magic methods summary