Get a CLI password input (hidden) from a password property.

@param  PropertyInterface $prop  The property to retrieve input from.
@param  string            $label The input label.
@return LeagueInput The League's terminal input object.
13142
private function passwordInput(PropertyInterface $prop, $label)
    {
        unset($prop);

        $climate = $this->climate();

        $input = $climate->password($label);
        return $input;
    }
262746
protected function resolveFieldDeprecationReason($prop): ?string
    {
        /** @var Annotation\Field $annotation */
        if ($annotation = $this->getFieldAnnotation($prop, Annotation\Field::class)) {
            return $annotation->deprecationReason;
        }

        return null;
    }
753116
public function get($prop)
    {
        $value = isset($this->_data[$prop]) ? $this->_data[$prop] : null;

        // dereference property reference values
        return $value instanceof PropertyReference ? $value->value() : $value;
    }
798692
protected function resolveFieldMaxConcurrentUsage($prop): ?string
    {
        /** @var Annotation\Field $annotation */
        if ($annotation = $this->getFieldAnnotation($prop, Annotation\Field::class)) {
            return $annotation->maxConcurrentUsage;
        }

        return 0;
    }
1360096
public function getKey(EventInterface $event) {
        $acl = $event->getAccessControl();

        $publicKey = $event->getRequest()->getRoute()->get('publickey');

        if (!$acl->publicKeyExists($publicKey)) {
            throw new RuntimeException('Public key not found', 404);
        }
    }
315129
function getComputed ($propName, $default = null)
  {
    $v = $this->component->getComputedPropValue ($propName);
    return exists ($v) ? $v : $default;
  }
1234205
public function getPropertyInfo($prop)
    {
        if (!$this->loaded) {
            $this->load();
        }

        if (isset($this->propertiesInfos[$prop])) {
            return $this->propertiesInfos[$prop];
        }

        return false;
    }
496154
protected function checkLabel($label)
    {
        if ($label instanceof ElementInterface) {
            return $label;
        }

        return $this->createLabel($this->translate($label));
    }
293377
protected function getPropertyLabel(EnvironmentInterface $environment, PropertyInterface $property)
    {
        $translator = $environment->getTranslator();

        $label = $translator->translate($property->getLabel(), $environment->getDataDefinition()->getName());
        if (!$label) {
            $label = $translator->translate('MSC.' . $property->getName());
        }

        if (\is_array($label)) {
            $label = $label[0];
        }

        if (!$label) {
            $label = $property->getName();
        }

        return $label;
    }
821003
public function renderContainerVariable(
        VariableAwareInterface $root,
        $propertyPath = null,
        VariableAwareInterface $object = null
    ) {
        $variable = $root->getVariable().'_container';

        if ($propertyPath !== null) {
            $variable = $this->renderProperty($variable, $propertyPath);
        }

        if ($object !== null) {
            $variable = $this->renderProperty($variable, $object->getVariable());
        }

        return $variable;
    }
701758
public Object get(String propName) {
        if (propName.equals("value")) {
            return getValue();
        }
        if (propName.equals("lang")) {
            return getLang();
        }
        return null;
    }
104222
protected function _getPropertyType(Zend_Reflection_Property $prop)
    {
        $docBlock = $prop->getDocComment();

        if (!$docBlock) {
            return 'Unknown';
        }

        if (!$docBlock->hasTag('var')) {
            return 'Unknown';
        }

        $tag = $docBlock->getTag('var');
        return trim($tag->getDescription());
    }
114798
public function getButtonLabel($label)
    {
        if ($label instanceof Closure) {
            $label = call_user_func($label, $this);
        } else {
            $label = Yii::t('hipanel', $label, ['count' => count($this->getSpoiledItems())]);
        }

        return $label;
    }
59019
protected function _findObject($label)
    {
        $result    = false;
        $signature = null;

        $method = sprintf('_get%sSignature', ucfirst($label));

        if (method_exists($this, $method)) {
            $signature = $this->$method();
        }

        if (is_null($signature) || !isset(self::$_find_results[$signature]))
        {
            $method = '_findActivity' . ucfirst($label);

            if (method_exists($this, $method)) {
                $result = (bool) $this->$method();
            }

            if ($signature) {
                self::$_find_results[$signature] = $result;
            }
        }
        else $result = self::$_find_results[$signature];

        return $result;
    }
606855
private function getProp($prop = 'dump-json')
    {
        $arguments = ['--'.$prop];

        if (isset($this->webpageUrl)) {
            $arguments[] = $this->webpageUrl;
        }
        if (isset($this->requestedFormat)) {
            $arguments[] = '-f';
            $arguments[] = $this->requestedFormat;
        }
        if (isset($this->password)) {
            $arguments[] = '--video-password';
            $arguments[] = $this->password;
        }

        return $this::callYoutubedl($arguments);
    }
299193
public function getString($prop) {

			// Get property
			$val = $this->get($prop);

			// Parse as a string
			if (is_string($val)) {
				return strval($val);
			} else {
				return null;
			}

		}
662262
public function setLabel( $label ) {
		if ( $this->useInputTag ) {
			// Discard non-plaintext labels
			if ( !is_string( $label ) ) {
				$label = '';
			}

			$this->input->setValue( $label );
		}

		return $this->setLabelElementLabel( $label );
	}