php-vips

Introspect
in package

Introspect a VipsOperation and discover everything we can. This is called on demand once per operation and the results held in a cache.

Tags
category

Images

author

John Cupitt jcupitt@gmail.com

copyright

2016 John Cupitt

license

https://opensource.org/licenses/MIT MIT

link
https://github.com/libvips/php-vips

Table of Contents

$arguments  : array<string|int, mixed>
A hash from arg name to a hash of details.
$description  : string
The operation description (e.g. "add two images").
$flags  : int
The operation flags (e.g. SEQUENTIAL | DEPRECATED).
$member_this  : string
The name of the arg this operation uses as "this".
$method_args  : array<string|int, mixed>
And the required input args, without the "this".
$name  : string
The operation nickname (eg. "add").
$optional_input  : array<string|int, mixed>
$optional_output  : array<string|int, mixed>
$required_input  : array<string|int, mixed>
Arrays of arg names, in order and by category, eg. $this->required_input = ["filename"].
$required_output  : array<string|int, mixed>
__construct()  : mixed
__toString()  : string

Properties

$arguments

A hash from arg name to a hash of details.

public array<string|int, mixed> $arguments

$description

The operation description (e.g. "add two images").

public string $description

$flags

The operation flags (e.g. SEQUENTIAL | DEPRECATED).

public int $flags

$member_this

The name of the arg this operation uses as "this".

public string $member_this

$method_args

And the required input args, without the "this".

public array<string|int, mixed> $method_args

$name

The operation nickname (eg. "add").

public string $name

$optional_input

public array<string|int, mixed> $optional_input

$optional_output

public array<string|int, mixed> $optional_output

$required_input

Arrays of arg names, in order and by category, eg. $this->required_input = ["filename"].

public array<string|int, mixed> $required_input

$required_output

public array<string|int, mixed> $required_output

Methods

__construct()

public __construct(mixed $operation_name) : mixed
Parameters
$operation_name : mixed
Tags
throws
Exception
Return values
mixed

__toString()

public __toString() : string
Return values
string

Search results