Documentation

RooleFilter extends BaseNodeFilter
in package
implements DependencyExtractorInterface

Loads Roole files.

Tags
link
http://roole.org
author

Marcin Chwedziak tiraeth@gmail.com

Interfaces, Classes and Traits

DependencyExtractorInterface
A filter that knows how to extract dependencies.

Table of Contents

$nodeBin  : mixed
$nodePaths  : mixed
$rooleBin  : mixed
$timeout  : mixed
__construct()  : mixed
Constructor
addNodePath()  : mixed
filterDump()  : mixed
filterLoad()  : mixed
getChildren()  : array<string|int, AssetInterface>
Returns child assets.
getNodePaths()  : mixed
setNodePaths()  : mixed
setTimeout()  : mixed
Set the process timeout.
createProcessBuilder()  : ProcessBuilder
Creates a new process builder.
mergeEnv()  : mixed

Properties

Methods

__construct()

Constructor

public __construct([string $rooleBin = '/usr/bin/roole' ][, string $nodeBin = null ]) : mixed
Parameters
$rooleBin : string = '/usr/bin/roole'

The path to the roole binary

$nodeBin : string = null

The path to the node binary

Return values
mixed

addNodePath()

public addNodePath(mixed $nodePath) : mixed
Parameters
$nodePath : mixed
Return values
mixed

getChildren()

Returns child assets.

public getChildren(AssetFactory $factory, mixed $content[, mixed $loadPath = null ]) : array<string|int, AssetInterface>
Parameters
$factory : AssetFactory

The asset factory

$content : mixed

The asset content

$loadPath : mixed = null

An optional load path

Return values
array<string|int, AssetInterface>

Child assets

getNodePaths()

public getNodePaths() : mixed
Return values
mixed

setNodePaths()

public setNodePaths(array<string|int, mixed> $nodePaths) : mixed
Parameters
$nodePaths : array<string|int, mixed>
Return values
mixed

setTimeout()

Set the process timeout.

public setTimeout(int $timeout) : mixed
Parameters
$timeout : int

The timeout for the process

Return values
mixed

createProcessBuilder()

Creates a new process builder.

protected createProcessBuilder([array<string|int, mixed> $arguments = array() ]) : ProcessBuilder
Parameters
$arguments : array<string|int, mixed> = array()

An optional array of arguments

Return values
ProcessBuilder

A new process builder

Search results