src/Leevel/Database/Ddd/Entity.php
protected function prop(string $prop): string
    {
        $this->validate($prop);

        return $this->asProp($prop);
    }
protected function prop(string $prop): string
    {
        $this->validate($prop);

        return $this->asProp($prop);
    }
校验并转换 prop.

@param string $prop

@return string