src/Api/StructureShape.php
public function getMember($name)
    {
        $members = $this->getMembers();

        if (!isset($members[$name])) {
            throw new \InvalidArgumentException('Unknown member ' . $name);
        }

        return $members[$name];
    }
public function getMember($name)
    {
        $members = $this->getMembers();

        if (!isset($members[$name])) {
            throw new \InvalidArgumentException('Unknown member ' . $name);
        }

        return $members[$name];
    }
public function getMember ( $ name ) { $ members = $ this -> getMembers ( ) ; if ( ! isset ( $ members [ $ name ] ) ) { throw new \ InvalidArgumentException ( 'Unknown member ' . $ name ) ; } return $ members [ $ name ] ; }
Retrieve a member by name.

@param string $name Name of the member to retrieve

@return Shape
@throws \InvalidArgumentException if the member is not found.
Retrieve a member by name .