LocalActorPath
in package
implements
ActorPathContract
Read onlyYes
FinalYes
Explicit local actor path wrapper.
Tags
Table of Contents
Interfaces
- ActorPathContract
- Common contract for local and remote actor paths.
Methods
- __construct() : mixed
- __toString() : string
- depth() : int
- equals() : bool
- fromString() : self
- isChildOf() : bool
- isDescendantOf() : bool
- name() : string
- parent() : ActorPathContract|null
- root() : self
- toActorPath() : ActorPath
Methods
__construct()
public
__construct(ActorPath $path) : mixed
Parameters
- $path : ActorPath
__toString()
public
__toString() : string
Return values
stringdepth()
public
depth() : int
Return values
intequals()
public
equals(ActorPathContract $other) : bool
Parameters
- $other : ActorPathContract
Return values
boolfromString()
public
static fromString(string $path) : self
Parameters
- $path : string
Return values
selfisChildOf()
public
isChildOf(ActorPathContract $parent) : bool
Parameters
- $parent : ActorPathContract
Return values
boolisDescendantOf()
public
isDescendantOf(ActorPathContract $ancestor) : bool
Parameters
- $ancestor : ActorPathContract
Return values
boolname()
public
name() : string
Return values
stringparent()
public
parent() : ActorPathContract|null
Return values
ActorPathContract|nullroot()
public
static root() : self
Return values
selftoActorPath()
public
toActorPath() : ActorPath