title: Laravel 5 | Image Upload | Cant get datas of uploaded variable
body: <p>I use ,</p>
  
  <pre><code>$up = request::file('image')-&gt;move('../public/images');
  </code></pre>
  
  <p>to Upload image to "Public/images" directory.</p>
  
  <p>i try to know datas of "$up", by using "dd()".</p>
  
  <p>I get datas as,</p>
  
  <pre><code> UploadedFile {#183 ▼
   -test: false
   -originalName: "Brackpoints.png"
   -mimeType: "image/png"
   -size: 148276
   -error: 0
    path: "/tmp"
    filename: "phpmU8PvU"
    basename: "phpmU8PvU"
    pathname: "/tmp/phpmU8PvU"
    extension: ""
    realPath: "/tmp/phpmU8PvU"
    aTime: 2016-02-15 13:57:39
    mTime: 2016-02-15 13:57:39
    cTime: 2016-02-15 13:57:39
    inode: 1443211
    size: 148276
    perms: 0100600
    owner: 900
    group: 900
    type: "file"
    writable: true
    readable: true
    executable: false
    file: true
    dir: false
    link: false
  }
  </code></pre>
  
  <p>If i try "print_r()", then i get,</p>
  
  <pre><code> Illuminate\Http\UploadedFile Object
   (
    [test:Symfony\Component\HttpFoundation\File\UploadedFile:private] =&gt; 
  [originalName:Symfony\Component\HttpFoundation\File\UploadedFile:private] =&gt; Brackpoints.png
  [mimeType:Symfony\Component\HttpFoundation\File\UploadedFile:private] =&gt; image/png
  [size:Symfony\Component\HttpFoundation\File\UploadedFile:private] =&gt; 148276
  [error:Symfony\Component\HttpFoundation\File\UploadedFile:private] =&gt; 0
  [pathName:SplFileInfo:private] =&gt; /tmp/phpMhUyh0
  [fileName:SplFileInfo:private] =&gt; phpMhUyh0
   )
  
     Symfony\Component\HttpFoundation\File\File Object
    (
        [pathName:SplFileInfo:private] =&gt; ../public/images/phpMhUyh0
        [fileName:SplFileInfo:private] =&gt; phpMhUyh0
    )
  </code></pre>
  
  <p>Here, I want to get the Name and type of the Image...</p>
  
  <p>How could i get ?</p>