class ImagePaths

Methods

__construct( Repository $config, Request $request, Application $application)

Create a new ImagePaths instance.

array|mixed
getPaths()

Get the paths.

$this
setPaths( array $paths)

Set the paths.

$this
addPath($namespace, $path)

Add an image path hint.

string
realPath($path)

Return the real path for a given path.

string
outputPath( Image $image)

Return the output path for an image.

string
prefix()

Return the path prefix.

Details

at line 47
__construct( Repository $config, Request $request, Application $application)

Create a new ImagePaths instance.

Parameters

Repository $config
Request $request
Application $application

at line 61
array|mixed getPaths()

Get the paths.

Return Value

array|mixed

at line 72
$this setPaths( array $paths)

Set the paths.

Parameters

array $paths

Return Value

$this

at line 86
$this addPath($namespace, $path)

Add an image path hint.

Parameters

$namespace
$path

Return Value

$this

at line 100
string realPath($path)

Return the real path for a given path.

Parameters

$path

Return Value

string

Exceptions

Exception

at line 121
string outputPath( Image $image)

Return the output path for an image.

Parameters

Image $image

Return Value

string

at line 188
string prefix()

Return the path prefix.

Return Value

string